Skip to content

Commit

Permalink
Add typo in publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
Kutu committed Jun 2, 2024
1 parent 35f9a69 commit 8a5275c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Publish update to PyPI

on:
- workflow_dispatch
- release:
workflow_dispatch:
release:
types: publised

jobs:
Expand Down
3 changes: 1 addition & 2 deletions src/knuckles/_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,7 @@ def generate_url(self, endpoint: str, extra_params: dict[str, Any]) -> str:

prepared_request = PreparedRequest()
prepared_request.prepare_url(
f"{self.url}/rest/{endpoint}", {**
self._generate_params(extra_params)}
f"{self.url}/rest/{endpoint}", {**self._generate_params(extra_params)}
)

# Ignore the type error caused by the url parameter of prepared_request
Expand Down

0 comments on commit 8a5275c

Please sign in to comment.