Add 24 hour expiry

This commit is contained in:
Alex Hyett 2023-09-21 08:09:34 +01:00
parent eb2ef5f2d8
commit 2ffedb9239

View file

@ -34,7 +34,7 @@ namespace Idempotency.Controllers
}
[HttpPost]
[Idempotent]
[Idempotent(ExpireHours = 24)]
public IActionResult Post([FromBody] PaymentRequest request)
{
if (request is null)