mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 02:54:20 +00:00
fix: org metadata query (#6161)
Co-authored-by: Fabi <fabienne@zitadel.com>
This commit is contained in:
parent
5182cb3ce3
commit
94fdb9a022
@ -70,5 +70,5 @@ func MetadataQueryToQuery(query *meta_pb.MetadataQuery) (query.SearchQuery, erro
|
||||
}
|
||||
|
||||
func MetadataKeyQueryToQuery(q *meta_pb.MetadataKeyQuery) (query.SearchQuery, error) {
|
||||
return query.NewUserMetadataKeySearchQuery(q.Key, object.TextMethodToQuery(q.Method))
|
||||
return query.NewOrgMetadataKeySearchQuery(q.Key, object.TextMethodToQuery(q.Method))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user