apply status normalizer
This commit is contained in:
parent
98358d30bb
commit
87de130ee5
1 changed files with 2 additions and 0 deletions
|
@ -217,6 +217,7 @@ const pinOwnStatus = ({ id, credentials }) => {
|
||||||
headers: authHeaders(credentials),
|
headers: authHeaders(credentials),
|
||||||
method: 'POST'
|
method: 'POST'
|
||||||
})
|
})
|
||||||
|
.then((data) => parseStatus(data))
|
||||||
}
|
}
|
||||||
|
|
||||||
const unpinOwnStatus = ({ id, credentials }) => {
|
const unpinOwnStatus = ({ id, credentials }) => {
|
||||||
|
@ -224,6 +225,7 @@ const unpinOwnStatus = ({ id, credentials }) => {
|
||||||
headers: authHeaders(credentials),
|
headers: authHeaders(credentials),
|
||||||
method: 'POST'
|
method: 'POST'
|
||||||
})
|
})
|
||||||
|
.then((data) => parseStatus(data))
|
||||||
}
|
}
|
||||||
|
|
||||||
const blockUser = ({id, credentials}) => {
|
const blockUser = ({id, credentials}) => {
|
||||||
|
|
Loading…
Reference in a new issue