From 87de130ee56fdd448934c8f442342302982ec579 Mon Sep 17 00:00:00 2001
From: taehoon
Date: Tue, 30 Apr 2019 08:04:22 -0400
Subject: [PATCH] apply status normalizer
---
src/services/api/api.service.js | 2 ++
1 file changed, 2 insertions(+)
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}) => {