mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-27 14:48:45 +00:00
chore(removing dead code): removing LabelPolicyAssetsRemovedEventType event is never made (#10742)
# Which Problems Are Solved The event `LabelPolicyAssetsRemovedEventType` is never actually made anywhere, this is dead code, this PR will remove it
This commit is contained in:
@@ -159,14 +159,6 @@ func (i *LabelPolicyView) AppendEvent(event eventstore.Event) (err error) {
|
||||
case instance.LabelPolicyActivatedEventType,
|
||||
org.LabelPolicyActivatedEventType:
|
||||
i.State = int32(domain.LabelPolicyStateActive)
|
||||
case instance.LabelPolicyAssetsRemovedEventType,
|
||||
org.LabelPolicyAssetsRemovedEventType:
|
||||
i.LogoURL = ""
|
||||
i.IconURL = ""
|
||||
i.LogoDarkURL = ""
|
||||
i.IconDarkURL = ""
|
||||
i.FontURL = ""
|
||||
i.State = int32(domain.LabelPolicyStatePreview)
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user