aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/api/handlers.go
diff options
context:
space:
mode:
Diffstat (limited to 'backend/api/handlers.go')
-rw-r--r--backend/api/handlers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/api/handlers.go b/backend/api/handlers.go
index b8f80f3..c435d72 100644
--- a/backend/api/handlers.go
+++ b/backend/api/handlers.go
@@ -55,7 +55,7 @@ func _assertJwtPayloadIsCompatibleWithJWTClaims() {
var p JwtPayload
p.UserId = float32(c.UserID)
p.Username = c.Username
- p.DisplayUsername = c.DisplayUsername
+ p.DisplayName = c.DisplayName
p.IconPath = c.IconPath
p.IsAdmin = c.IsAdmin
_ = p