Крутой фикс, согласен...

This commit is contained in:
2024-10-06 17:55:40 +04:00
parent ac95dad30e
commit 5c66c617ff
2 changed files with 7 additions and 10 deletions

View File

@@ -88,16 +88,13 @@ export class ScheduleService {
schedule.etag,
);
await this.firebaseAdminService.sendByTopic(
"schedule-update",
{
data: {
type: "schedule-update",
replaced: isReplaced.toString(),
etag: schedule.etag,
},
await this.firebaseAdminService.sendByTopic("common", {
data: {
type: "schedule-update",
replaced: isReplaced.toString(),
etag: schedule.etag,
},
);
});
}
this.scheduleUpdatedAt = new Date();
}