diff options
author | 2018-11-15 12:21:28 +0100 | |
---|---|---|
committer | 2018-11-15 12:21:28 +0100 | |
commit | 8f5de18c754230540f731dbd12828ad8b850d1f2 (patch) | |
tree | dc5347ea0d5e5265923f058f6607b7b41bf7a0a9 /src/api | |
parent | Cleanup (diff) | |
download | ferdium-app-8f5de18c754230540f731dbd12828ad8b850d1f2.tar.gz ferdium-app-8f5de18c754230540f731dbd12828ad8b850d1f2.tar.zst ferdium-app-8f5de18c754230540f731dbd12828ad8b850d1f2.zip |
Fix minor issues due to babel upgrade
Diffstat (limited to 'src/api')
-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'; |