remove default param for siteId in fetcher

This commit is contained in:
igoradamenko
2018-03-10 23:54:43 +03:00
parent 43666cbaba
commit 84c58db2f1
-1
View File
@@ -28,7 +28,6 @@ methods.forEach(method => {
body = {},
withCredentials = false,
overriddenApiBase = API_BASE,
siteId = siteId,
} = (typeof data === 'string' ? { url: data } : data);
const basename = `${BASE_URL}${overriddenApiBase}`;