Add zap req to description

This commit is contained in:
2024-07-19 15:13:21 +01:00
parent e7a688dd63
commit 3d11a462ae

View File

@ -168,7 +168,7 @@ public class UserService
Type = t.Type == PaymentType.Withdrawal ? BalanceHistoryItemType.Debit : BalanceHistoryItemType.Credit, Type = t.Type == PaymentType.Withdrawal ? BalanceHistoryItemType.Debit : BalanceHistoryItemType.Credit,
Description = t.Type == PaymentType.Withdrawal Description = t.Type == PaymentType.Withdrawal
? "Withdrawal" ? "Withdrawal"
: (t.Type == PaymentType.Credit ? "Admin Credit" : ""), : (t.Type == PaymentType.Credit ? "Admin Credit" : (t.Type == PaymentType.Zap ? t.Nostr : "")),
Amount = t.Amount / 1000m Amount = t.Amount / 1000m
}) })
.Union(_db.Streams .Union(_db.Streams