Skip to content
Snippets Groups Projects
Commit 8b600dc5 authored by Alexander Kovalev's avatar Alexander Kovalev
Browse files

Merge branch 'MRM-8252' into 'release/v0.22'

MRM-8252 Close CRM - Certificate opportunites - no info about 2 days and expired certificates

See merge request mashroom/backend/document!73
parents 13560467 9ee7a488
Branches
Tags
No related merge requests found
......@@ -107,7 +107,7 @@ func (h *handlerImpl) consumeNotifyDocumentExpirationDays(
document.TypeContentsInsurance,
},
model.DocumentNotificationExpirationType(fmt.Sprintf("is_notified_%d_days", k)),
now.Truncate(24*time.Hour).AddDate(0, 0, k),
now.AddDate(0, 0, k),
)
if err != nil {
return err
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment