Skip to content

API response #20

@NouraldinS

Description

@NouraldinS

Have your responses in the form of

res.status(403).send({ success: false, msg: 'publish-post-error/unauthorized-token' });

Why? idk :p
It just helps reading the messages in the front end to have shorter but more descriptive messages. Sometimes you won't work as full stack...

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