Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions socketdev/repos/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def post(self, org_slug: str, **kwargs) -> dict:
return {}

path = "orgs/" + org_slug + "/repos"
response = self.api.do_request(path=path, method="POST", payload=params.__dict__)
response = self.api.do_request(path=path, method="POST", payload=params)

if response.status_code == 200:
result = response.json()
Expand All @@ -150,7 +150,7 @@ def update(self, org_slug: str, repo_name: str, **kwargs) -> dict:
return {}

path = f"orgs/{org_slug}/repos/{repo_name}"
response = self.api.do_request(path=path, method="POST", payload=params.__dict__)
response = self.api.do_request(path=path, method="POST", payload=params)

if response.status_code == 200:
result = response.json()
Expand Down
2 changes: 1 addition & 1 deletion socketdev/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.0.5"
__version__ = "2.0.6"
Loading