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

Consistency in 'success' index on return array #9

Open
playmono opened this issue Jan 12, 2021 · 0 comments
Open

Consistency in 'success' index on return array #9

playmono opened this issue Jan 12, 2021 · 0 comments

Comments

@playmono
Copy link

playmono commented Jan 12, 2021

There is no consistency on when return 'success' => true or 'success' => 'success' . I suspect that the backend is evaluating success index as a boolean and therefore the string 'success' is true. Otherwise, what we should return when 'success' is false in the cases where we are returning a string?

'success' => 'success' (9)

'success' => true (7)

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

No branches or pull requests

1 participant