Skip to content

Commit

Permalink
fix: save YtUser to dynamodb in POST /user request
Browse files Browse the repository at this point in the history
  • Loading branch information
zeeshanakram3 committed Jun 7, 2024
1 parent 1234cbf commit a7a5fb9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/services/httpApi/controllers/users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ export class UsersController {
throw errors
}

// save user & set joystreamMemberId if user already existed
await this.dynamodbService.users.save(user)

// return verified user
return {
id: user.id,
Expand Down

0 comments on commit a7a5fb9

Please sign in to comment.