aboutsummaryrefslogtreecommitdiffstats
path: root/src/api
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2018-11-21 13:45:43 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2018-11-21 13:45:43 +0100
commitb05e27fe1944866d0636cb248166f81310b0b7d6 (patch)
treebe76dc87d2af3ffc67e351daa05a0e9e5d665d38 /src/api
parentUpdate fs-extra (diff)
downloadferdium-app-b05e27fe1944866d0636cb248166f81310b0b7d6.tar.gz
ferdium-app-b05e27fe1944866d0636cb248166f81310b0b7d6.tar.zst
ferdium-app-b05e27fe1944866d0636cb248166f81310b0b7d6.zip
Revert "Fix fetch is undefined"
Diffstat (limited to 'src/api')
-rw-r--r--src/api/server/ServerApi.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/server/ServerApi.js b/src/api/server/ServerApi.js
index 353faa7f4..2e80e520b 100644
--- a/src/api/server/ServerApi.js
+++ b/src/api/server/ServerApi.js
@@ -35,7 +35,7 @@ module.paths.unshift(
35); 35);
36 36
37const { app } = remote; 37const { app } = remote;
38const fetch = remote.require('electron-fetch'); 38const { default: fetch } = remote.require('electron-fetch');
39 39
40const SERVER_URL = API; 40const SERVER_URL = API;
41const API_VERSION = 'v1'; 41const API_VERSION = 'v1';