1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

All: Added uploadBlob method to Node apps

This commit is contained in:
Laurent Cozic
2017-12-18 21:46:22 +01:00
parent 3f4f154949
commit 2959fa1080
2 changed files with 11 additions and 4 deletions

View File

@ -46,10 +46,7 @@ function shimInit() {
try {
const response = await shim.fetchWithRetry(doFetchBlob, options);
// let response = await RNFetchBlob.config({
// path: localFilePath
// }).fetch(method, url, headers);
// Returns an object that's roughtly compatible with a standard Response object
let output = {
ok: response.respInfo.status < 400,