diff --git a/.gitignore b/.gitignore index 3b4df19..bac0d24 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,6 @@ build/ __pycache__ htmlcov .vscode -rest_api_payload.egg-info \ No newline at end of file +rest_api_payload.egg-info +dist/ +rest_api_response.egg-info \ No newline at end of file diff --git a/README.md b/README.md index cd402db..1005b4b 100644 --- a/README.md +++ b/README.md @@ -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", @@ -104,7 +104,7 @@ The API response would be: "content": "Lorem ipsume content", "author": 3 } - } + ] ] ``` diff --git a/dist/rest_api_payload-0.0.5-py3-none-any.whl b/dist/rest_api_payload-0.0.5-py3-none-any.whl deleted file mode 100644 index b126906..0000000 Binary files a/dist/rest_api_payload-0.0.5-py3-none-any.whl and /dev/null differ diff --git a/dist/rest_api_payload-0.0.5.tar.gz b/dist/rest_api_payload-0.0.5.tar.gz deleted file mode 100644 index 3827ada..0000000 Binary files a/dist/rest_api_payload-0.0.5.tar.gz and /dev/null differ diff --git a/rest_api_response/__init__.py b/rest_api_response/__init__.py index 1f05a14..ea17d9c 100644 --- a/rest_api_response/__init__.py +++ b/rest_api_response/__init__.py @@ -40,3 +40,4 @@ def success_response( response = {"status": True, "message": message, "data": data} return response + \ No newline at end of file