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:
Iraq
2025-09-22 06:19:34 +00:00
committed by GitHub
parent b6ff4ff16c
commit e5575d6042
10 changed files with 2 additions and 170 deletions
-3
View File
@@ -25,8 +25,6 @@ const (
LabelPolicyFontAddedEventType = "policy.label.font.added"
LabelPolicyFontRemovedEventType = "policy.label.font.removed"
LabelPolicyAssetsRemovedEventType = "policy.label.assets.removed"
LabelPolicyRemovedEventType = "policy.label.removed"
)
@@ -70,7 +68,6 @@ func NewLabelPolicyAddedEvent(
disableWatermark bool,
themeMode domain.LabelPolicyThemeMode,
) *LabelPolicyAddedEvent {
return &LabelPolicyAddedEvent{
BaseEvent: *base,
PrimaryColor: primaryColor,