Add 24 hour expiry
This commit is contained in:
parent
eb2ef5f2d8
commit
2ffedb9239
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ namespace Idempotency.Controllers
|
|||
}
|
||||
|
||||
[HttpPost]
|
||||
[Idempotent]
|
||||
[Idempotent(ExpireHours = 24)]
|
||||
public IActionResult Post([FromBody] PaymentRequest request)
|
||||
{
|
||||
if (request is null)
|
||||
|
|
Loading…
Reference in a new issue