diff options
author | 2018-11-21 13:45:43 +0100 | |
---|---|---|
committer | 2018-11-21 13:45:43 +0100 | |
commit | b05e27fe1944866d0636cb248166f81310b0b7d6 (patch) | |
tree | be76dc87d2af3ffc67e351daa05a0e9e5d665d38 /src | |
parent | Update fs-extra (diff) | |
download | ferdium-app-b05e27fe1944866d0636cb248166f81310b0b7d6.tar.gz ferdium-app-b05e27fe1944866d0636cb248166f81310b0b7d6.tar.zst ferdium-app-b05e27fe1944866d0636cb248166f81310b0b7d6.zip |
Revert "Fix fetch is undefined"
This reverts commit df01b73f92dd61659fb14231ce6eb84feb134992.
Diffstat (limited to 'src')
-rw-r--r-- | src/api/server/ServerApi.js | 2 |
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 | ||
37 | const { app } = remote; | 37 | const { app } = remote; |
38 | const fetch = remote.require('electron-fetch'); | 38 | const { default: fetch } = remote.require('electron-fetch'); |
39 | 39 | ||
40 | const SERVER_URL = API; | 40 | const SERVER_URL = API; |
41 | const API_VERSION = 'v1'; | 41 | const API_VERSION = 'v1'; |