From a63806585bb0b567c90c6660ecb17a65c4c347d4 Mon Sep 17 00:00:00 2001 From: Niko K Date: Sat, 19 Sep 2020 17:24:28 +0300 Subject: [PATCH] Fixed correct route --- routes/user/get-cs-player-info.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/routes/user/get-cs-player-info.js b/routes/user/get-cs-player-info.js index 18bfef9..6145c63 100644 --- a/routes/user/get-cs-player-info.js +++ b/routes/user/get-cs-player-info.js @@ -2,8 +2,8 @@ const { log } = require('../../lib'); const { User } = require('../../models'); const schema = { - description: 'Get users roles by steamId', - summary: 'Get roles by steamId', + description: 'Get CS player info by steamId', + summary: 'Get info by steamId', tags: ['User'], params: { type: 'object', @@ -64,7 +64,7 @@ const handler = async (req, reply) => { module.exports = { method: 'GET', - url: '/get-roles/:steamID64', + url: '/get-cs-player-info/:steamID64', schema, handler, };