diff --git a/backend-manager-student/src/admin_api/v1/Swagger/admin_api/admin.swagger.yaml b/backend-manager-student/src/admin_api/v1/Swagger/admin_api/admin.swagger.yaml index c07c799..74c380f 100644 --- a/backend-manager-student/src/admin_api/v1/Swagger/admin_api/admin.swagger.yaml +++ b/backend-manager-student/src/admin_api/v1/Swagger/admin_api/admin.swagger.yaml @@ -283,7 +283,7 @@ paths: #!created_at 28/02/2023 #!description: New Token /api/v1/admin/renew-token: - post: + get: summary: New Token tags: [New Token] operationId: reNewToken diff --git a/backend-manager-student/src/user_api/v1/Swagger/user_api/user.swagger.yaml b/backend-manager-student/src/user_api/v1/Swagger/user_api/user.swagger.yaml index 2214f10..8e9f8cb 100644 --- a/backend-manager-student/src/user_api/v1/Swagger/user_api/user.swagger.yaml +++ b/backend-manager-student/src/user_api/v1/Swagger/user_api/user.swagger.yaml @@ -215,7 +215,7 @@ paths: #!updated_at 08/02/2023 #!description: New Token /api/v1/user/renew-token: - post: + get: summary: New Token tags: [New Token] operationId: reNewToken diff --git a/server-media-service/src/share/middlewares/access.token.middleware.js b/server-media-service/src/share/middlewares/access.token.middleware.js index 5b9bd26..89ee2c1 100644 --- a/server-media-service/src/share/middlewares/access.token.middleware.js +++ b/server-media-service/src/share/middlewares/access.token.middleware.js @@ -39,7 +39,7 @@ const accessTokenMiddleware = async (req, res, next) => { // Take token const { device_id } = req.device; - console.log(device_id, 'device_id') + // Take data device student const data_device = await user_device_model.getDeviceId( { device_uuid: device_id },