HM-65. Исправлена ошибка при которой не перключалось на тестовое апи (#26)

This commit is contained in:
Nikolay
2020-07-22 17:51:23 +03:00
committed by GitHub
parent a5b2932832
commit 1cd0e7f768

View File

@ -19,11 +19,9 @@ import adminConfigsService from '../services/AdminConfigsService';
*/
class StorageServiceApi {
constructor () {
const {url, headers} = adminConfigsService.getApi();
const {url, options} = adminConfigsService.getApi();
this.URL = `${url}${ENDPOINTS.STORE}`;
this.OPTIONS = {
headers,
};
this.OPTIONS = options;
}
/**