randalthor-dropboxapi
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -81,4 +81,7 @@ const Dropbox = require("dropbox").Dropbox; | ||
async deleteFileSync(path) { | ||
const options = { | ||
path: path | ||
}; | ||
try { | ||
await this.dpx.filesDeleteV2(path); | ||
await this.dpx.filesDeleteV2(options); | ||
} catch (error) { | ||
@@ -90,4 +93,7 @@ console.error(error); | ||
async getTempLink(path) { | ||
const options = { | ||
path: path | ||
}; | ||
try { | ||
return await this.dpx.filesGetTemporaryLink(path); | ||
return await this.dpx.filesGetTemporaryLink(options); | ||
} catch (error) { | ||
@@ -94,0 +100,0 @@ console.error(error); |
{ | ||
"name": "randalthor-dropboxapi", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Client Wrapper for Dropbox Node API", | ||
@@ -5,0 +5,0 @@ "main": "client.js", |
4324
94