mirror of
https://github.com/go-gitea/gitea.git
synced 2025-06-22 14:08:01 +02:00
add isAdmin to user model (#6231)
update vendor and add tests fix swagger
This commit is contained in:

committed by
techknowlogick

parent
8e202e28ad
commit
141c58f5a6
@ -8640,6 +8640,11 @@
|
||||
"format": "int64",
|
||||
"x-go-name": "ID"
|
||||
},
|
||||
"is_admin": {
|
||||
"description": "Is the user an administrator",
|
||||
"type": "boolean",
|
||||
"x-go-name": "IsAdmin"
|
||||
},
|
||||
"language": {
|
||||
"description": "User locale",
|
||||
"type": "string",
|
||||
|
Reference in New Issue
Block a user