Skip to content

Commit

Permalink
Update app/src/forms/form/controller.js
Browse files Browse the repository at this point in the history
Co-authored-by: Walter Moar <[email protected]>
  • Loading branch information
usingtechnology and WalterMoar committed Jun 13, 2024
1 parent 851e23f commit 942c675
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/forms/form/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -429,8 +429,8 @@ module.exports = {
},
deleteExternalAPI: async (req, res, next) => {
try {
const response = await service.deleteExternalAPI(req.params.formId, req.params.externalAPIId);
res.status(200).json(response);
await service.deleteExternalAPI(req.params.formId, req.params.externalAPIId);
res.status(204).send();
} catch (error) {
next(error);
}
Expand Down

0 comments on commit 942c675

Please sign in to comment.