fix: user grant by id (#6242)

(cherry picked from commit cd5e176e30)
This commit is contained in:
Livio Spring
2023-07-24 15:38:30 +02:00
parent e08b8dcb13
commit 1b44e9ad76
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -93,6 +93,10 @@ func NewUserGrantGrantIDSearchQuery(id string) (SearchQuery, error) {
return NewTextQuery(UserGrantGrantID, id, TextEquals)
}
func NewUserGrantIDSearchQuery(id string) (SearchQuery, error) {
return NewTextQuery(UserGrantID, id, TextEquals)
}
func NewUserGrantUserTypeQuery(typ domain.UserType) (SearchQuery, error) {
return NewNumberQuery(UserTypeCol, typ, NumberEquals)
}