Skip to content

[BUG]: verifyToken is breaking #27

@ayush00git

Description

@ayush00git

Error: While using servive verifyToken
at verifyToken (/home/ayush/Documents/projects/TNC/backend/services/authToken.ts:23:15)
at allowOnlyAuthenticatedUser (/home/ayush/Documents/projects/TNC/backend/middlewares/auth.ts:15:32)
at Layer.handleRequest (/home/ayush/Documents/projects/TNC/backend/node_modules/router/lib/layer.js:152:17)
at next (/home/ayush/Documents/projects/TNC/backend/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/ayush/Documents/projects/TNC/backend/node_modules/router/lib/route.js:117:3)
at handle (/home/ayush/Documents/projects/TNC/backend/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/ayush/Documents/projects/TNC/backend/node_modules/router/lib/layer.js:152:17)
at /home/ayush/Documents/projects/TNC/backend/node_modules/router/index.js:295:15
at processParams (/home/ayush/Documents/projects/TNC/backend/node_modules/router/index.js:582:12)
at next (/home/ayush/Documents/projects/TNC/backend/node_modules/router/index.js:291:5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions