mirror of
https://github.com/spacebarchat/server.git
synced 2026-06-07 15:21:47 +00:00
Return url on webhook create
This commit is contained in:
@@ -107,6 +107,7 @@ router.post(
|
||||
return res.json({
|
||||
...hook,
|
||||
user: user,
|
||||
url: Config.get().api.endpointPublic + "/api/webhooks/" + hook.id + "/" + hook.token,
|
||||
});
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user