Skip to content

Commit

Permalink
fix: fix queryparams bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Emmarex committed Dec 18, 2021
1 parent b4649d8 commit 6e53874
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "thepeer-sdk"
version = "0.0.1"
version = "0.0.2"
description = "Python SDK for Thepeer"
authors = ["Oluwafemi Tairu <tairuoluwafemi09@gmail.com>"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion thepeer_sdk/core/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def list_users(self, page: int = 1, per_page: int = 10) -> dict:
"""
return self.api_client.make_get(
url=f'{self.API_BASE_URL}/users',
query_params={
params={
"page": page,
"perPage": per_page
}
Expand Down

0 comments on commit 6e53874

Please sign in to comment.