Fix: Getting notifications via API would crash

This commit is contained in:
nicolas.dorier
2024-11-14 21:53:37 +09:00
parent 6d737ce119
commit 8e688b7f28
3 changed files with 4 additions and 2 deletions

View File

@@ -135,7 +135,7 @@ namespace BTCPayServer.Controllers.Greenfield
Body = entity.Body,
StoreId = entity.StoreId,
Seen = entity.Seen,
Link = string.IsNullOrEmpty(entity.ActionLink) ? null : new Uri(entity.ActionLink)
Link = entity.ActionLink
};
}