Skip to content

Commit

Permalink
Merge pull request #41 from supabase/da/fix-missing-obj-bodies
Browse files Browse the repository at this point in the history
fix: missing json bodies in patch and put requests
  • Loading branch information
fedden authored Aug 18, 2021
2 parents bb98157 + b022994 commit 9b68a97
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions supabase_py/lib/query_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ def _execute_monkey_patch(self) -> Dict[str, Any]:
additional_kwargs = {"json": self.json}
elif method == "put":
func = requests.put
additional_kwargs = {"json": self.json}
elif method == "patch":
func = requests.patch
additional_kwargs = {"json": self.json}
elif method == "delete":
func = requests.delete
else:
Expand Down

0 comments on commit 9b68a97

Please sign in to comment.