apply status normalizer
This commit is contained in:
parent
98358d30bb
commit
87de130ee5
@ -217,6 +217,7 @@ const pinOwnStatus = ({ id, credentials }) => {
|
||||
headers: authHeaders(credentials),
|
||||
method: 'POST'
|
||||
})
|
||||
.then((data) => parseStatus(data))
|
||||
}
|
||||
|
||||
const unpinOwnStatus = ({ id, credentials }) => {
|
||||
@ -224,6 +225,7 @@ const unpinOwnStatus = ({ id, credentials }) => {
|
||||
headers: authHeaders(credentials),
|
||||
method: 'POST'
|
||||
})
|
||||
.then((data) => parseStatus(data))
|
||||
}
|
||||
|
||||
const blockUser = ({id, credentials}) => {
|
||||
|
Loading…
Reference in New Issue
Block a user