Skip to content

Conversation

AntoineGonzalez
Copy link
Contributor

No description provided.

Comment on lines +43 to +99
return new JsonResponse(
$e->getMessage(),
Response::HTTP_BAD_REQUEST,
json: true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

throw new BadRequestHttpException($e->getMessage());

@AntoineGonzalez AntoineGonzalez changed the title Module/rest api v2 module: rest api Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants