🐛 Fixes notification

This commit is contained in:
2025-06-23 02:46:49 +08:00
parent 6bec0a672e
commit 1b45f07419
2 changed files with 5 additions and 1 deletions

View File

@ -198,6 +198,8 @@ public class PaymentService(
if (order.PayeeWallet is null) return;
var account = await db.Accounts.FirstOrDefaultAsync(a => a.Id == order.PayeeWallet.AccountId);
if (account is null) return;
AccountService.SetCultureInfo(account);
// Due to ID is uuid, it longer than 8 words for sure
var readableOrderId = order.Id.ToString().Replace("-", "")[..8];