Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit cb3568c

Browse files
fix: fix #560
1 parent ba7a773 commit cb3568c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

postgrest/_sync/request_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def __init__(
4141
self.http_method = http_method
4242
self.headers = headers
4343
self.params = params
44-
self.json = json
44+
self.json = None if http_method == "GET" else json
4545

4646
def execute(self) -> APIResponse[_ReturnT]:
4747
"""Execute the query.

0 commit comments

Comments
 (0)