parent
81d2c5a4a7
commit
5d56799070
21 changed files with 348 additions and 8 deletions
|
@ -547,6 +547,8 @@ export class NoteCreateService implements OnApplicationShutdown {
|
|||
|
||||
this.globalEventService.publishNotesStream(noteObj);
|
||||
|
||||
this.roleService.addNoteToRoleTimeline(noteObj);
|
||||
|
||||
this.webhookService.getActiveWebhooks().then(webhooks => {
|
||||
webhooks = webhooks.filter(x => x.userId === user.id && x.on.includes('note'));
|
||||
for (const webhook of webhooks) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue