cleanup
This commit is contained in:
parent
4aa75a278b
commit
7f42e0e5a7
1 changed files with 0 additions and 3 deletions
|
|
@ -181,9 +181,6 @@ 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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue