Skip to content
Merged
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ build/
__pycache__
htmlcov
.vscode
rest_api_payload.egg-info
rest_api_payload.egg-info
dist/
rest_api_response.egg-info
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ The API response would be:
```json
[ "status": true,
"message": "Posts retrieved!",
"data": {
"data": [
{
"title": "First blog post",
"content": "Lorem ipsume content",
Expand All @@ -104,7 +104,7 @@ The API response would be:
"content": "Lorem ipsume content",
"author": 3
}
}
]
]
```

Expand Down
Binary file removed dist/rest_api_payload-0.0.5-py3-none-any.whl
Binary file not shown.
Binary file removed dist/rest_api_payload-0.0.5.tar.gz
Binary file not shown.
1 change: 1 addition & 0 deletions rest_api_response/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,4 @@ def success_response(

response = {"status": True, "message": message, "data": data}
return response