@foxiko/client
Advanced tools
Comparing version 1.0.71 to 1.0.72
@@ -52,10 +52,3 @@ const {APIEntity} = require("../../APIEntity"); | ||
async delete() { | ||
const result = await this.#handler.deleteItem(this.#invoice, this); | ||
for(let item of this.#invoice.items) { | ||
if(item.id === this.id) { | ||
this.items.splice(this.items.indexOf(item), 1); | ||
break; | ||
} | ||
} | ||
return result; | ||
return await this.#handler.deleteItem(this.#invoice, this); | ||
} | ||
@@ -62,0 +55,0 @@ } |
{ | ||
"name": "@foxiko/client", | ||
"version": "1.0.71", | ||
"version": "1.0.72", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
176579
3566