Skip to content

Commit

Permalink
fix: user super username
Browse files Browse the repository at this point in the history
Took 13 minutes
  • Loading branch information
rokartur committed Jun 22, 2024
1 parent 95e40b1 commit 14641b0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion website/.million/store.json

This file was deleted.

2 changes: 1 addition & 1 deletion website/src/models/User.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export class User extends Member {
}[]

constructor(data: User | any) {
super(data.id, data.name, data.email, data.email, data.profile_picture_url)
super(data.id, data.name, data.username, data.email, data.profile_picture_url)
this.selected_trainer_id = data.selected_trainer_id
this.subscription_expiration_date = data.subscription_expiration_date
this.meetings = data.meetings
Expand Down

0 comments on commit 14641b0

Please sign in to comment.