Skip to content

Commit

Permalink
Update status code
Browse files Browse the repository at this point in the history
  • Loading branch information
davidwshg committed Jul 29, 2021
1 parent c3570e5 commit 26546c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kong/plugins/idempotency/access.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function _M.execute(conf, version, prefix, client)

if not cache then
kong.response.set_header('x-idempotency-status', 'waiting_response')
kong.response.exit(400, { message = 'x-idempotency-status waiting_response' })
kong.response.exit(409, { message = 'x-idempotency-status waiting_response' })
return
end

Expand Down

0 comments on commit 26546c9

Please sign in to comment.