@quantcdn/quant-client 2.0.9 → 2.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/client.js +2 -1
- package/package.json +1 -1
package/dist/src/client.js
CHANGED
|
@@ -244,9 +244,10 @@ class QuantClient {
|
|
|
244
244
|
* The repsonse object.
|
|
245
245
|
*/
|
|
246
246
|
delete: (payload) => __awaiter(this, void 0, void 0, function* () {
|
|
247
|
-
|
|
247
|
+
const response = yield this._project.delete('delete/all', {}, {
|
|
248
248
|
'Quant-Url': payload.url
|
|
249
249
|
});
|
|
250
|
+
return yield response.first();
|
|
250
251
|
}),
|
|
251
252
|
/**
|
|
252
253
|
* Get a revision from the API.
|