Skip to content

Commit

Permalink
fix: write display name to username
Browse files Browse the repository at this point in the history
  • Loading branch information
ofr1tz committed Oct 30, 2024
1 parent 604b0dd commit 6d7b276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SignUp.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default defineComponent({
set(ref(db, `/v2/users/${userId}/groupContributionCount`), 0),
set(ref(db, `/v2/users/${userId}/projectContributionCount`), 0),
set(ref(db, `/v2/users/${userId}/taskContributionCount`), 0),
set(ref(db, `/v2/users/${userId}/taskContributionCount`), this.displayName),
set(ref(db, `/v2/users/${userId}/username`), this.displayName),
])
})
.then(() => {
Expand Down

0 comments on commit 6d7b276

Please sign in to comment.