Skip to content

Commit 9b68a97

Browse files
authored
Merge pull request #41 from supabase/da/fix-missing-obj-bodies
fix: missing json bodies in patch and put requests
2 parents bb98157 + b022994 commit 9b68a97

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

supabase_py/lib/query_builder.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ def _execute_monkey_patch(self) -> Dict[str, Any]:
1818
additional_kwargs = {"json": self.json}
1919
elif method == "put":
2020
func = requests.put
21+
additional_kwargs = {"json": self.json}
2122
elif method == "patch":
2223
func = requests.patch
24+
additional_kwargs = {"json": self.json}
2325
elif method == "delete":
2426
func = requests.delete
2527
else:

0 commit comments

Comments
 (0)