1
0
mirror of https://github.com/bitwarden/server synced 2025-12-19 01:33:20 +00:00

assign credit type for account credit

This commit is contained in:
Kyle Spearrin
2019-02-23 20:24:34 -05:00
parent b5782f7b72
commit b028696891
2 changed files with 4 additions and 3 deletions

View File

@@ -108,7 +108,7 @@ namespace Bit.Billing.Controllers
CreationDate = GetTransactionDate(invoice),
OrganizationId = ids.Item1,
UserId = ids.Item2,
Type = TransactionType.Charge,
Type = TransactionType.Credit,
Gateway = GatewayType.BitPay,
GatewayId = invoice.Id,
PaymentMethodType = PaymentMethodType.BitPay,