Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PTSB-11] Support filtering for project attributes #38

Merged
merged 2 commits into from
Oct 7, 2024
Merged
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
Next Next commit
fix: remove 'names_start_with' as required param
Torsten1014 committed Oct 4, 2024
commit 0b2d02388918c67354a311d9d02b708f1b6b3948
2 changes: 1 addition & 1 deletion snyk_tags/collection.py
Original file line number Diff line number Diff line change
@@ -88,7 +88,7 @@ def apply_tags_to_projects(
client_v3 = SnykClient(
token=token, url=base_url, version="2023-08-31~experimental"
)
params = {"limit": 100, "names_start_with": name, **filters}
params = {"limit": 100, **filters}
projects = client_v3.get_rest_pages(
f"/orgs/{org_id}/projects", params=params
)