Skip to content
Snippets Groups Projects
Commit ad207723 authored by GUILLORET SIMON's avatar GUILLORET SIMON
Browse files

fix: return username instead of name

parent e9d8aed0
2 merge requests!95V4.0,!92Feature/84 stats for party
Pipeline #324995 passed with stages
in 1 minute and 37 seconds
......@@ -183,7 +183,7 @@ export class PartyRepositoryOnDb implements PartyRepository {
return runs.map((r) => ({
user: {
id: r.QuizUser.id,
name: r.QuizUser.username,
username: r.QuizUser.username,
},
score: r.score,
}));
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment