Greenfield: Remove unused checkout type setting from POS (#5512)

Cam across this while browsing the API docs: The checkout type setting isn't used for the POS, so we should simply remove it as this is configured on the store-level.
This commit is contained in:
d11n
2023-11-30 10:05:35 +01:00
committed by GitHub
parent 04292d09e1
commit b31f1812d2
4 changed files with 1 additions and 7 deletions

View File

@@ -291,8 +291,7 @@ namespace BTCPayServer.Controllers.Greenfield
EmbeddedCSS = request.EmbeddedCSS,
RedirectAutomatically = request.RedirectAutomatically,
RequiresRefundEmail = BoolToRequiresRefundEmail(request.RequiresRefundEmail) ?? RequiresRefundEmail.InheritFromStore,
FormId = request.FormId,
CheckoutType = request.CheckoutType ?? CheckoutType.V1
FormId = request.FormId
};
}