Skip to content

Commit

Permalink
feat(feedback): return correct status code
Browse files Browse the repository at this point in the history
  • Loading branch information
mahiarirani committed Feb 18, 2025
1 parent 7248bf6 commit 1a27bc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Controller/FeedbackController.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function submit(): JSONResponse {
return new JSONResponse([
'status' => 'error',
'message' => $e->getMessage(),
], 500);
], $e->getCode());
}
}
}

0 comments on commit 1a27bc6

Please sign in to comment.