fix api url
This commit is contained in:
parent
5050d63a46
commit
2d78ec7f2e
|
@ -54,7 +54,7 @@ private[api] final class UserApi(
|
|||
jsonView(u, extended = true) ++ {
|
||||
Json.obj(
|
||||
"url" -> makeUrl(s"@/$username"),
|
||||
"playing" -> gameOption.map(g => makeUrl(s"${g.gameId}/s{$g.color.name}")),
|
||||
"playing" -> gameOption.map(g => makeUrl(s"${g.gameId}/${g.color.name}")),
|
||||
"nbFollowing" -> following,
|
||||
"nbFollowers" -> followers,
|
||||
"count" -> Json.obj(
|
||||
|
|
Loading…
Reference in a new issue