Revert "fix using unfetch api"

This reverts commit 10d9c1a
This commit is contained in:
igoradamenko
2018-03-10 23:06:47 +03:00
parent 9493c61f2c
commit cd82d08dbc
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -2,7 +2,7 @@ import { siteId, url } from './settings';
import fetcher from './fetcher'
/* user */
/* common */
export const logOut = () => fetcher.get({ url: `/auth/logout`, overriddenApiBase: '' });
@@ -36,7 +36,6 @@ export const getUser = () => fetcher.get({
});
/* admin */
export const pin = ({ id, url }) => fetcher.put({
url: `/admin/pin/${id}?url=${url}&pin=1`,
withCredentials: true,