Skip to content
Discussion options

You must be logged in to vote

My mistake, should have use prepend instead of append in this case. That caused the issue.

$middleware->api(prepend:
            ForceJsonResponse::class,
        );

Thanks.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@VishnuSivadasVS
Comment options

@VishnuSivadasVS
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by VishnuSivadasVS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #52362 on August 02, 2024 07:23.