Skip to content

Consistency in 'success' index on return array #9

@playmono

Description

@playmono

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions