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

feat(consent): increase consent duration to 3 years

parent 96655fe6
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 #109241 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