diff options
author | Stefan Malzner <stefan@adlk.io> | 2018-11-19 16:52:32 +0100 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2018-11-19 16:52:32 +0100 |
commit | df01b73f92dd61659fb14231ce6eb84feb134992 (patch) | |
tree | 5c84fb9052aa504c7d94c2d0efa352891d9379a1 /src | |
parent | Merge branch 'develop' of github.com:meetfranz/franz into develop (diff) | |
download | ferdium-app-df01b73f92dd61659fb14231ce6eb84feb134992.tar.gz ferdium-app-df01b73f92dd61659fb14231ce6eb84feb134992.tar.zst ferdium-app-df01b73f92dd61659fb14231ce6eb84feb134992.zip |
Fix fetch is undefined
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 2e80e520b..353faa7f4 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 { default: fetch } = remote.require('electron-fetch'); | 38 | const 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'; |