Compare commits

..

No commits in common. "589d91d64df85ab588f19850082996c7ef71af3a" and "7395600e5d0ec76102710efc8ad05d9120b6266c" have entirely different histories.

2 changed files with 5 additions and 2 deletions

View file

@ -435,7 +435,7 @@ export const downloadRemoteEmojiPackZIP = ({
return promisedRequest({
url: EMOJI_PACKS_DL_REMOTE_ZIP_URL,
method: 'POST',
formData: data,
payload: data,
})
}
@ -460,7 +460,7 @@ export const addNewEmojiFile = ({ packName, file, shortcode, filename }) => {
return promisedRequest({
url: EMOJI_UPDATE_FILE_URL(packName),
method: 'POST',
formData: data,
payload: data,
})
}

View file

@ -181,6 +181,9 @@ export const unmuteConversation = ({ id, credentials }) =>
}).then(({ data, ...rest }) => ({ ...rest, data: parseStatus(data) }))
export const vote = ({ pollId, choices, credentials }) => {
const form = new FormData()
form.append('choices', choices)
return promisedRequest({
url: MASTODON_VOTE_URL(encodeURIComponent(pollId)),
method: 'POST',