Project

General

Profile

Actions

Bug #6210

closed

Backend

Added by Olivier Bitsch 6 months ago. Updated 6 months ago.

Status:
Done
Priority:
Normal
Category:
-
Target version:
Start date:
11/13/2023
Due date:
% Done:

0%

Estimated time:

Description

error: Sending 500 ("Server Error") response:
TypeError: Cannot read properties of undefined (reading 'role')
at Object.subscribe [as subscribetodoctors/subscribe] (/usr/src/app/api/controllers/SubscribeToDoctorsController.js:35:48)
at /usr/src/app/node_modules/sails/lib/router/bind.js:236:53
at routeTargetFnWrapper (/usr/src/app/node_modules/sails/lib/router/bind.js:395:9)
at Layer.handle [as handle_request] (/usr/src/app/node_modules/router/lib/layer.js:93:5)
at next (/usr/src/app/node_modules/router/lib/route.js:144:13)
at Route.dispatch (/usr/src/app/node_modules/router/lib/route.js:109:3)
at handle (/usr/src/app/node_modules/router/index.js:520:11)
at Layer.handle [as handle_request] (/usr/src/app/node_modules/router/lib/layer.js:93:5)
at /usr/src/app/node_modules/router/index.js:296:22
at Function.process_params (/usr/src/app/node_modules/router/index.js:354:12)
at next (/usr/src/app/node_modules/router/index.js:290:10)
at next (/usr/src/app/node_modules/router/lib/route.js:124:14)
at module.exports (/usr/src/app/api/policies/isDoctorOrAdmin.js:5:12)
at routeTargetFnWrapper (/usr/src/app/node_modules/sails/lib/router/bind.js:395:9)
at Layer.handle [as handle_request] (/usr/src/app/node_modules/router/lib/layer.js:93:5)
at next (/usr/src/app/node_modules/router/lib/route.js:144:13)
Connecting User to Socket: Frederic doctor 650da495fe31a8cac64b8f68
error: Sending 500 ("Server Error") response:
TypeError: Cannot read properties of undefined (reading 'role')
at Object.subscribe [as subscribetodoctors/subscribe] (/usr/src/app/api/controllers/SubscribeToDoctorsController.js:35:48)
Actions #1

Updated by Olivier Bitsch 6 months ago

  • Assignee set to Gor Grigoryan
Actions #2

Updated by Olivier Bitsch 6 months ago

  • Status changed from In Study to Testing
Actions #3

Updated by Gor Grigoryan 6 months ago

  • Assignee changed from Gor Grigoryan to Olivier Bitsch
Actions #4

Updated by Olivier Bitsch 6 months ago

  • Status changed from Testing to Done
Actions

Also available in: Atom PDF