This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
[Bug] [API] Add language to user api (
#9215
)
* add language to user api * OK Co-Authored-By: Lauris BH <lauris@nix.lv>
tags/v1.11.0-rc1
6543
techknowlogick
5 years ago
parent
7795786485
commit
5198ba682a
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
modules/convert/convert.go
+ 1
- 0
modules/convert/convert.go
View File
@@ -273,6 +273,7 @@ func ToUser(user *models.User, signed, authed bool) *api.User {
result.ID = user.ID
result.IsAdmin = user.IsAdmin
result.LastLogin = user.LastLoginUnix.AsTime()
result.Language = user.Language
}
return result
}
Write
Preview
Loading…
Cancel
Save