Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Response code not working #7

Closed
OtaHofmann opened this issue Nov 16, 2020 · 3 comments
Closed

Response code not working #7

OtaHofmann opened this issue Nov 16, 2020 · 3 comments

Comments

@OtaHofmann
Copy link

Hi :-)
I would like to ask you about response code. When I am using respondWithCode with any argument except 200 then my response still have 200.
I tried go another way and set code manually (setCode(401))

Code in json message is ok.

Am I doing something wrong?
Thank you

@mychidarko
Copy link
Member

Hi @OtaHofmann, sorry for the delayed response. This particular issue has been fixed in the latest version of Leaf. What version of leafs/leaf is in your composer.json file?

@OtaHofmann
Copy link
Author

Hi @darko-mychi
Thank you for your response. Version update resolved the problem 👍

@mychidarko
Copy link
Member

@OtaHofmann Glad I could help

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants