fix 500 error

master
Aevann 2024-10-19 12:42:17 +03:00
parent 47ef535528
commit c464831768
1 changed files with 1 additions and 1 deletions

View File

@ -626,7 +626,7 @@ def update_emoji(v):
cache.delete("emojis_False")
cache.delete(f"emoji_list_{existing.kind}_False")
if emoji.kind == 'Marsey Flags':
if existing.kind == 'Marsey Flags':
cache.delete("flag_emojis")
return {"message": f"'{name}' updated successfully!"}