"vscode:/vscode.git/clone" did not exist on "aa627f7785c40d35e8be701262aea517036d0647"
  • Anuraag Jain's avatar
    refac: use dependencies to verify token · bdd153d8
    Anuraag Jain authored
    - feat: added new util to get the current user when needed. Middleware was adding authentication logic to all the routes. let's revisit if we can move the non-auth endpoints to a separate route.
    - refac: update the routes to use new helpers for verification and retrieving user
    - chore: added black for local formatting of py code
    bdd153d8
utils.py 2.19 KB