same as last commit

pull/225/head
Aevann 2024-03-23 22:15:53 +02:00
parent 24c315f4ae
commit b3c6c4655c
1 changed files with 1 additions and 1 deletions

View File

@ -583,7 +583,7 @@ def update_emoji(v):
if tags and existing.tags != tags:
existing.tags += f" {tags}"
existing.tags = delete_unnecessary_tags(existing.tags, new_name)
existing.tags = delete_unnecessary_tags(existing.tags, existing.name)
if not tags_regex.fullmatch(tags):
abort(400, "Invalid tags!")
updated = True