mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 21:47:32 +00:00
fix(api): correct mapping of user state queries (#9956)
# Which Problems Are Solved the mapping of `ListUsers` was wrong for user states. # How the Problems Are Solved mapping of user state introduced to correctly map it # Additional Changes mapping of user type introduced to prevent same issue # Additional Context Requires backport to 2.x and 3.x Co-authored-by: Livio Spring <livio.a@gmail.com>
This commit is contained in:
@@ -70,7 +70,7 @@ func (h *UsersHandler) buildListQuery(ctx context.Context, request *ListRequest)
|
||||
}
|
||||
|
||||
// the zitadel scim implementation only supports humans for now
|
||||
userTypeQuery, err := query.NewUserTypeSearchQuery(int32(domain.UserTypeHuman))
|
||||
userTypeQuery, err := query.NewUserTypeSearchQuery(domain.UserTypeHuman)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user