From 2ffedb92395c973f76f8cb3c033a87d4a5eda3a5 Mon Sep 17 00:00:00 2001 From: Alex Hyett Date: Thu, 21 Sep 2023 08:09:34 +0100 Subject: [PATCH] Add 24 hour expiry --- Controllers/PaymentController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controllers/PaymentController.cs b/Controllers/PaymentController.cs index eac4284..f7e7a0a 100644 --- a/Controllers/PaymentController.cs +++ b/Controllers/PaymentController.cs @@ -34,7 +34,7 @@ namespace Idempotency.Controllers } [HttpPost] - [Idempotent] + [Idempotent(ExpireHours = 24)] public IActionResult Post([FromBody] PaymentRequest request) { if (request is null)