remove BETA comment and fix tests

This commit is contained in:
Matteo Pagliazzi
2019-09-20 16:44:46 +02:00
parent 7b69967412
commit 2a9f5e1667
2 changed files with 12 additions and 12 deletions

View File

@@ -96,7 +96,7 @@ api.addWebhook = {
};
/**
* @api {get} /api/v3/user/webhook Get webhooks - BETA
* @api {get} /api/v3/user/webhook Get webhooks
* @apiName UserGetWebhook
* @apiGroup Webhook
*
@@ -107,7 +107,7 @@ api.getWebhook = {
middlewares: [authWithHeaders()],
url: '/user/webhook',
async handler (req, res) {
let user = res.locals.user;
const user = res.locals.user;
res.respond(200, user.webhooks);
},