Skip to content

Create @CurrentUser decorator #442

Description

@ayshadogo

Description:

  • Create common/decorators/current-user.decorator.ts
  • Extract user from req.user (populated by JwtStrategy)
  • Use in all protected endpoints that need the authenticated user

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions