From 3d11a462ae9170eaaacca003cb137c557ed62dca Mon Sep 17 00:00:00 2001 From: kieran Date: Fri, 19 Jul 2024 15:13:21 +0100 Subject: [PATCH] Add zap req to description --- NostrStreamer/Services/UserService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NostrStreamer/Services/UserService.cs b/NostrStreamer/Services/UserService.cs index 5b42bbb..c31fa33 100644 --- a/NostrStreamer/Services/UserService.cs +++ b/NostrStreamer/Services/UserService.cs @@ -168,7 +168,7 @@ public class UserService Type = t.Type == PaymentType.Withdrawal ? BalanceHistoryItemType.Debit : BalanceHistoryItemType.Credit, Description = t.Type == PaymentType.Withdrawal ? "Withdrawal" - : (t.Type == PaymentType.Credit ? "Admin Credit" : ""), + : (t.Type == PaymentType.Credit ? "Admin Credit" : (t.Type == PaymentType.Zap ? t.Nostr : "")), Amount = t.Amount / 1000m }) .Union(_db.Streams