Skip to content
This repository was archived by the owner on Nov 30, 2022. It is now read-only.
This repository was archived by the owner on Nov 30, 2022. It is now read-only.

application/json header in auth.shop middleware #164

@awebartisan

Description

@awebartisan

I am trying to return json response from my controller but its being returned text/html; charset=UTF-8. On further digging, I found out that it only happens if I apply auth.shop middleware, as I remove it proper json response is returned. Kindly look into it.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureEnhancement to the code

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions