How to add success to every responce?
Open
- Dominant language
- PHP
- Stars
- 9.4k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
Hello!
I want to add `success` responce to every API call. If we have an error, `success: false` and if all is OK, then `success: true`.
Final responce must looke like this:
```
{
"success":true,
"data": [{}, {}]
}
```
How to do that?
Contributor guide
Assessment
This issue has not been assessed yet.