Skip to content

Commit 3ab3e49

Browse files
authored
Update README.md
1 parent 9f4ff6b commit 3ab3e49

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ You must add the service provider to `config/app.php` for load lang
1616
```json
1717
{
1818
"status": "success or error",
19-
"status_code": 200, // or 422, 400, 500, ...
19+
"status_code": 200,
2020
"message": "your setted message",
2121
"data": "your data",
22-
"errors": "your errors" // like validation error
22+
"errors": "your errors"
2323
}
2424
```
2525
> **Note:** support of **fa** and **en** languages.
@@ -63,7 +63,7 @@ output:
6363
{
6464
"status_code": 200,
6565
"status": "success",
66-
"message": "operation successfully!" // in en language
66+
"message": "operation successfully!"
6767
}
6868
```
6969
> **Note:** default mode is successfully operation.
@@ -118,7 +118,7 @@ output:
118118
{
119119
"status_code": 201,
120120
"status": "success",
121-
"data": "the created object", // or null
121+
"data": "the created object",
122122
"message": "operation successfully!"
123123
}
124124
```

0 commit comments

Comments
 (0)