Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move more code into get_query and put_query #22

Open
2 tasks
dbosk opened this issue Mar 21, 2021 · 1 comment
Open
2 tasks

Move more code into get_query and put_query #22

dbosk opened this issue Mar 21, 2021 · 1 comment

Comments

@dbosk
Copy link
Owner

dbosk commented Mar 21, 2021

  • Make get_query and put_query also do the error checking and return the JSON data instead of the response.
  • Clean the JSON (pass through clean_data before returning it.
@dbosk dbosk changed the title Move status code checks into get_query and put_query Move more code into get_query and put_query Mar 22, 2021
@dbosk
Copy link
Owner Author

dbosk commented Mar 22, 2021

And now post_query too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant