GODT-2223: Fix handling deletion of nonexistent labels

This commit is contained in:
James Houlahan
2023-01-17 17:13:52 +01:00
committed by Leander Beernaert
parent 849c8bee78
commit b63029054d
2 changed files with 3 additions and 8 deletions

View File

@ -52,9 +52,8 @@ type UserLabelDeleted struct {
UserID string
LabelID string
Name string
}
func (event UserLabelDeleted) String() string {
return fmt.Sprintf("UserLabelDeleted: UserID: %s, LabelID: %s, Name: %s", event.UserID, event.LabelID, logging.Sensitive(event.Name))
return fmt.Sprintf("UserLabelDeleted: UserID: %s, LabelID: %s", event.UserID, event.LabelID)
}