We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5c7d68 commit f10ab1eCopy full SHA for f10ab1e
1 file changed
API/Backend/Webhooks/setup.js
@@ -7,12 +7,14 @@ let setup = {
7
onceInit: (s) => {
8
s.app.use(
9
s.ROOT_PATH + "/api/webhooks",
10
+ s.ensureAdmin(),
11
s.checkHeadersCodeInjection,
12
routerWebhooks
13
);
14
if (process.env.NODE_ENV === "development") {
15
16
s.ROOT_PATH + "/api/testwebhooks",
17
18
19
routerTestWebhooks
20
0 commit comments