mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 02:54:20 +00:00
fix: UserByIDAndResourceOwner query (#2340)
This commit is contained in:
parent
45ebd16226
commit
257bf90f7e
@ -26,7 +26,7 @@ func UserByIDAndResourceOwner(db *gorm.DB, table, userID, resourceOwner string)
|
||||
user := new(model.UserView)
|
||||
userIDQuery := &model.UserSearchQuery{
|
||||
Key: usr_model.UserSearchKeyUserID,
|
||||
Method: domain.SearchMethodListContains,
|
||||
Method: domain.SearchMethodEquals,
|
||||
Value: userID,
|
||||
}
|
||||
resourceOwnerQuery := &model.UserSearchQuery{
|
||||
|
Loading…
Reference in New Issue
Block a user