Merge branch 'tusooa/1244-report-delete-fail' into 'develop'
Display delete status errors Closes #1244 See merge request pleroma/pleroma-fe!1769
This commit is contained in:
commit
9c376b3511
3 changed files with 16 additions and 4 deletions
|
|
@ -923,8 +923,9 @@ const editStatus = ({
|
|||
}
|
||||
|
||||
const deleteStatus = ({ id, credentials }) => {
|
||||
return fetch(MASTODON_DELETE_URL(id), {
|
||||
headers: authHeaders(credentials),
|
||||
return promisedRequest({
|
||||
url: MASTODON_DELETE_URL(id),
|
||||
credentials,
|
||||
method: 'DELETE'
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue