fix(frontend): fix invalid json error when HTTP response is 204

This commit is contained in:
croumegous
2023-01-03 00:44:07 +01:00
parent 329a3bfd7a
commit 47ffd40d38
@@ -63,7 +63,6 @@ const handler = async (req, res) => {
message_id: registeredTask.id,
}),
});
await ackRes.json();
// Send the results to the client.
res.status(200).json(registeredTask);