diff --git a/src/services/api/api.service.js b/src/services/api/api.service.js index 426d40e449..b5858e9d72 100644 --- a/src/services/api/api.service.js +++ b/src/services/api/api.service.js @@ -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}) => {