Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
fix: add 'error: false' to /emojis (#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
tnix100 authored Aug 23, 2024
1 parent 0900599 commit 74704b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rest_api/v0/emojis.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
@emojis_bp.get("/<lang>")
async def get_default_emojis(lang: str):
if lang in DEFAULT_EMOJIS:
return DEFAULT_EMOJIS[lang], 200
return {"error": False, "groups": DEFAULT_EMOJIS[lang]}, 200
else:
abort(404)

0 comments on commit 74704b8

Please sign in to comment.