diff --git a/backend/routes/user/logout.coffee b/backend/routes/user/logout.coffee index a8e6a07..8803844 100644 --- a/backend/routes/user/logout.coffee +++ b/backend/routes/user/logout.coffee @@ -8,6 +8,17 @@ fftcgdb = (require '../../db') module.exports = url: '/user/logout' method: 'POST' + schema: + body: + session: type: 'string' + response: + 200: + type: 'object' + required: ['success'] + properties: + success: + type: 'boolean' + const: true handler: (request, reply) -> new Promise (resolve) ->