Skip to content
Snippets Groups Projects
Commit 1e662f14 authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

Merge branch 'feat/3-year-consent' into 'dev'

feat(consent): increase consent duration to 3 years

See merge request !109
parents 96655fe6 d565f624
No related branches found
No related tags found
3 merge requests!120feat: Allow to download all consents,!117chore: Set GRDF token refresh as an option,!109feat(consent): increase consent duration to 3 years
Pipeline #109248 passed
......@@ -81,7 +81,7 @@ func (dh *DataHandler) PostSgeConsent(w http.ResponseWriter, r *http.Request) {
log.Println(err.Error())
return
}
consent.EndDate = time.Now().AddDate(1, 0, 0)
consent.EndDate = time.Now().AddDate(3, 0, 0)
// Create a consent in SQL
err = dh.sqlClient.Create(&consent).Error
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment