From 5176eaf4bad63a60762f577cadc53d40e476507c Mon Sep 17 00:00:00 2001 From: Kukks Date: Fri, 15 Oct 2021 11:02:38 +0200 Subject: [PATCH] fix test --- BTCPayServer/Controllers/AppsPublicController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BTCPayServer/Controllers/AppsPublicController.cs b/BTCPayServer/Controllers/AppsPublicController.cs index 92762f98c..82569b396 100644 --- a/BTCPayServer/Controllers/AppsPublicController.cs +++ b/BTCPayServer/Controllers/AppsPublicController.cs @@ -353,7 +353,7 @@ namespace BTCPayServer.Controllers return NotFound("Please provide an amount greater than 0"); } - price = null; + price = request.Amount; } if (!isAdmin && (settings.EnforceTargetAmount && info.TargetAmount.HasValue && price >