Actions
Bug #6210
closedBackend
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)
Updated by Olivier Bitsch about 1 year ago
- Status changed from In Study to Testing
Updated by Gor Grigoryan about 1 year ago
- Assignee changed from Gor Grigoryan to Olivier Bitsch
Actions