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 942c675 commit 673a3c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/forms/form/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ module.exports = {
createExternalAPI: async (req, res, next) => {
try {
const response = await service.createExternalAPI(req.params.formId, req.body, req.currentUser);
res.status(200).json(response);
res.status(201).json(response);
} catch (error) {
next(error);
}
Expand Down

0 comments on commit 673a3c5

Please sign in to comment.