Skip to content

Commit 61c59bd

Browse files
6543lafriks
authored andcommitted
[Bug] [API] Add language to user api (#9215)
* add language to user api * OK Co-Authored-By: Lauris BH <[email protected]>
1 parent 60c5339 commit 61c59bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/convert/convert.go

+1
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@ func ToUser(user *models.User, signed, authed bool) *api.User {
273273
result.ID = user.ID
274274
result.IsAdmin = user.IsAdmin
275275
result.LastLogin = user.LastLoginUnix.AsTime()
276+
result.Language = user.Language
276277
}
277278
return result
278279
}

0 commit comments

Comments
 (0)