aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/api/handlers.go
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-07-28 03:15:08 +0900
committernsfisis <nsfisis@gmail.com>2024-07-28 03:15:08 +0900
commit569eb3753db04c2ceca8d005b3e1cef15cfe8eb7 (patch)
tree9cb80bf9642e1e7d6146551d81fd57988bb240df /backend/api/handlers.go
parentf106dfda762b499af52a741f682c34abb83d27d9 (diff)
downloadiosdc-japan-2025-albatross-569eb3753db04c2ceca8d005b3e1cef15cfe8eb7.tar.gz
iosdc-japan-2025-albatross-569eb3753db04c2ceca8d005b3e1cef15cfe8eb7.tar.zst
iosdc-japan-2025-albatross-569eb3753db04c2ceca8d005b3e1cef15cfe8eb7.zip
rename user's display_username to display_name
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