summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-06-05 22:08:03 +0200
committerRory& <root@rory.gay>2026-06-05 22:08:03 +0200
commit46b73308b1f00e184a904bc7100ffcf9ccd374bb (patch)
treea2cb25bd13d6a2b5b8842f916bcdaf83bd6ab6eb /src
parentUser: handle autojoin synchronously (diff)
downloadserver-ts-46b73308b1f00e184a904bc7100ffcf9ccd374bb.tar.xz
Return url on webhook create
Diffstat (limited to 'src')
-rw-r--r--src/api/routes/channels/#channel_id/webhooks.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/routes/channels/#channel_id/webhooks.ts b/src/api/routes/channels/#channel_id/webhooks.ts

index ed2dd0ea..65597270 100644 --- a/src/api/routes/channels/#channel_id/webhooks.ts +++ b/src/api/routes/channels/#channel_id/webhooks.ts
@@ -107,6 +107,7 @@ router.post( return res.json({ ...hook, user: user, + url: Config.get().api.endpointPublic + "/api/webhooks/" + hook.id + "/" + hook.token, }); }, );