fix: User grant id key (#731)

* fix: log id and error message

* fix: user grant by id correct search field
This commit is contained in:
Silvan
2020-09-11 14:51:50 +02:00
committed by GitHub
parent 4926509de0
commit c37d55b069
4 changed files with 12 additions and 10 deletions
@@ -65,6 +65,8 @@ func (key UserGrantSearchKey) ToColumnName() string {
return UserGrantKeyOrgName
case grant_model.UserGrantSearchKeyRoleKey:
return UserGrantKeyRole
case grant_model.UserGrantSearchKeyID:
return UserGrantKeyID
default:
return ""
}