Merge pull request #3450 from crazyserver/MOBILE-3936

MOBILE-3936 calendar: Fix default reminders not being created
main
Dani Palou 2022-11-17 12:55:07 +01:00 committed by GitHub
commit 15877e0697
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1540,7 +1540,7 @@ export class AddonCalendarProvider {
}
if (addDefaultReminder) {
this.addDefaultEventReminder(eventRecord, site.getId());
await this.addDefaultEventReminder(eventRecord, site.getId());
}
await site.getDb().insertRecord(EVENTS_TABLE, eventRecord);