tkhwang / readable

anti-social social bookmark and much more...
5 stars 1 forks source link

πŸš‘ (server): Fix nest.js jwt problem with GraphQL #55

Closed tkhwang closed 3 years ago

tkhwang commented 3 years ago

Description

  @Query(returns => User)
  @UseGuards(GqlAuthGuard)
  me(@CurrentUser() user: User) {
    return user;
  }

Type of change

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

πŸ” Inspect: https://vercel.com/tkhwang/readable/6DKdTp9HTCqUVNJAGQNQKNBRuSZo
βœ… Preview: https://readable-git-feat-server-0712-use-nest-jwt-tkhwang.vercel.app