buildlyio/buildly-core

DELETE requests fail with async gateway

jefmoura opened this issue · 0 comments

Bug report

DELETE requests using the async implementation of the gateway fails.

Current behavior

When we send a DELETE request using the async version of the gateway implementation, a 500 error is returned but the object is deleted.

Expected behavior

When a DELETE request is sent to the async implementation of the gateway, the response from the service should be returned and the object deleted.

Enviroment

Buildly version : 0.3.0
Logs: Request

curl -X DELETE \
  https://localhost:8080/async/inventory/produtcs/2/ \
  -H 'Authorization: JWT ...' \
  -H 'Host: localhost:8080'