Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Commit 0929a20

Browse files
committed
fix connected_accounts.list, fix github workflow to install poetry deps
1 parent 8b7dedf commit 0929a20

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
GITHUB_TOKEN: ${{ secrets.BOT_GH_TOKEN }}
5353
message: |
5454
⌛️ [running Python SDK tests](${{ env.RUN_URL }})...
55+
- run: poetry install
5556
- run: poetry run pytest -s
5657
- name: Comment on failure
5758
if: ${{ github.event.inputs.prNumber && failure() }}

seamapi/connected_accounts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def list(self) -> List[ConnectedAccount]:
5555
A list of connected accounts.
5656
"""
5757

58-
res = requests.post(
58+
res = requests.get(
5959
f"{self.seam.api_url}/connected_accounts/list",
6060
headers={"Authorization": f"Bearer {self.seam.api_key}"},
6161
)

0 commit comments

Comments
 (0)