forked from rDrama/rDrama
same as last commit
parent
24c315f4ae
commit
b3c6c4655c
|
@ -583,7 +583,7 @@ def update_emoji(v):
|
||||||
|
|
||||||
if tags and existing.tags != tags:
|
if tags and existing.tags != tags:
|
||||||
existing.tags += f" {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):
|
if not tags_regex.fullmatch(tags):
|
||||||
abort(400, "Invalid tags!")
|
abort(400, "Invalid tags!")
|
||||||
updated = True
|
updated = True
|
||||||
|
|
Loading…
Reference in New Issue