1
0
mirror of https://github.com/sismics/docs.git synced 2025-12-15 02:36:24 +00:00

Closes #243: webhooks UI

This commit is contained in:
Benjamin Gamard
2018-10-17 11:31:49 +02:00
parent 884239bc26
commit 0dce279fd0
5 changed files with 92 additions and 6 deletions

View File

@@ -48,7 +48,7 @@ public class WebhookAsyncListener {
@Subscribe
@AllowConcurrentEvents
public void on(final DocumentDeletedAsyncEvent event) {
triggerWebhook(WebhookEvent.DOCUMENT_UPDATED, event.getDocumentId());
triggerWebhook(WebhookEvent.DOCUMENT_DELETED, event.getDocumentId());
}
@Subscribe