mirror of
https://github.com/frappe/books.git
synced 2024-12-22 02:49:03 +00:00
chore: fixed floating promise warning when linting
This commit is contained in:
parent
24023b4bb6
commit
47ed0f9397
@ -1201,7 +1201,7 @@ export async function updatePricingRule(sinvDoc: SalesInvoice) {
|
||||
).length;
|
||||
|
||||
setTimeout(() => {
|
||||
(async () => {
|
||||
void (async () => {
|
||||
if (appliedPricingRuleCount !== applicablePricingRuleNames?.length) {
|
||||
await sinvDoc.appendPricingRuleDetail(applicablePricingRuleNames);
|
||||
await sinvDoc.applyProductDiscount();
|
||||
|
Loading…
Reference in New Issue
Block a user