Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module: rest api #122

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft

module: rest api #122

wants to merge 7 commits into from

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