Error handling, uploading/deleting new emojis, sorting

This commit is contained in:
Ekaterina Vaartis 2024-01-07 12:26:40 +03:00
commit 4451cccb3c
4 changed files with 164 additions and 12 deletions

View file

@ -1863,7 +1863,7 @@ const addNewEmojiFile = ({ packName, file, shortcode, filename }) => {
return fetch(
PLEROMA_EMOJI_UPDATE_FILE_URL(packName),
{ method: 'POST', data }
{ method: 'POST', body: data }
)
}