mirror of
https://github.com/bitwarden/server.git
synced 2025-04-21 13:05:11 -05:00
qty should be 1 when restoring invoice items
This commit is contained in:
parent
54162d6531
commit
4982c21c37
@ -931,7 +931,7 @@ namespace Bit.Core.Services
|
|||||||
SubscriptionId = item.SubscriptionId,
|
SubscriptionId = item.SubscriptionId,
|
||||||
Discountable = item.Discountable,
|
Discountable = item.Discountable,
|
||||||
Metadata = item.Metadata,
|
Metadata = item.Metadata,
|
||||||
Quantity = item.Quantity,
|
Quantity = 1,
|
||||||
UnitAmount = item.UnitAmount
|
UnitAmount = item.UnitAmount
|
||||||
};
|
};
|
||||||
await invoiceItemService.CreateAsync(i);
|
await invoiceItemService.CreateAsync(i);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user