@vtex/api
Advanced tools
Comparing version 0.14.0 to 0.14.1
@@ -57,9 +57,9 @@ 'use strict'; | ||
headers['Content-Type'] = _mimeTypes2.default.contentType((0, _path.basename)(path)); | ||
return client.put(routes.Files(bucket, path), finalStream, { headers: headers }); | ||
return client.put(routes.File(bucket, path), finalStream, { headers: headers }); | ||
}, | ||
deleteFile: (bucket, path) => { | ||
return client.delete(routes.Files(bucket, path)); | ||
return client.delete(routes.File(bucket, path)); | ||
} | ||
}; | ||
} |
{ | ||
"name": "@vtex/api", | ||
"version": "0.14.0", | ||
"version": "0.14.1", | ||
"description": "VTEX I/O API client", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
Sorry, the diff of this file is not supported yet
172773