mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 03:24:26 +00:00
fix: remove metadata on remove feature with correct resourceowner (#2376)
This commit is contained in:
parent
b6b5b1b782
commit
50b30bc4bd
@ -100,14 +100,15 @@ func (wm *UserMetadataListWriteModel) Query() *eventstore.SearchQueryBuilder {
|
|||||||
|
|
||||||
type UserMetadataByOrgListWriteModel struct {
|
type UserMetadataByOrgListWriteModel struct {
|
||||||
eventstore.WriteModel
|
eventstore.WriteModel
|
||||||
resourceOwner string
|
UserMetadata map[string]map[string][]byte
|
||||||
UserMetadata map[string]map[string][]byte
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewUserMetadataByOrgListWriteModel(resourceOwner string) *UserMetadataByOrgListWriteModel {
|
func NewUserMetadataByOrgListWriteModel(resourceOwner string) *UserMetadataByOrgListWriteModel {
|
||||||
return &UserMetadataByOrgListWriteModel{
|
return &UserMetadataByOrgListWriteModel{
|
||||||
resourceOwner: resourceOwner,
|
WriteModel: eventstore.WriteModel{
|
||||||
UserMetadata: make(map[string]map[string][]byte),
|
ResourceOwner: resourceOwner,
|
||||||
|
},
|
||||||
|
UserMetadata: make(map[string]map[string][]byte),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user