Skip to content

Commit 420103a

Browse files
authored
Update main.js
1 parent 3fa6065 commit 420103a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

main.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
async function collection(source, target, options = {}) {
22
const { config, utils } = options;
3-
const { tauriFetch: fetch } = utils;
3+
const { http } = utils;
4+
const { fetch, Boxy } = http;
5+
46
const { port = 8765 } = config;
57

68
async function ankiConnect(action, version, params = {}) {
@@ -97,4 +99,4 @@ async function collection(source, target, options = {}) {
9799
}),
98100
},
99101
});
100-
}
102+
}

0 commit comments

Comments
 (0)