Route.post() requires a callback function but got a [object Undefined] #30
-
(node:92300) UnhandledPromiseRejectionWarning: Error: Route.post() requires a callback function but got a [object Undefined] /Desktop/attendance-management-backend/node_modules/expresswebcorets/lib/app/index.js:172:63 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@klever34 , Which controller is the route pointing to? |
Beta Was this translation helpful? Give feedback.
-
The route is expecting a callback function but it's getting an object |
Beta Was this translation helpful? Give feedback.
The route is expecting a callback function but it's getting an object