1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-02 08:48:32 +09:00
This commit is contained in:
syuilo 2023-01-13 17:42:12 +09:00
parent 23810e3e1e
commit 2654936c17

View File

@ -67,7 +67,11 @@ export default class extends Endpoint<typeof meta, typeof paramDef> {
active: ps.active,
});
this.globalEventService.publishInternalEvent('webhookUpdated', webhook);
const updated = await this.webhooksRepository.findOneByOrFail({
id: ps.webhookId,
});
this.globalEventService.publishInternalEvent('webhookUpdated', updated);
});
}
}