Skip to content

Commit 464905c

Browse files
committed
fix: send parameters properly on GET requests
1 parent 16b7b41 commit 464905c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

knockapi/client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ def request(self, method, endpoint, payload=None):
2020
r = requests.request(
2121
method,
2222
url,
23+
params=payload,
2324
json=payload,
2425
headers=self.headers,
2526
)

0 commit comments

Comments
 (0)