Skip to content

Commit

Permalink
fix: fix get_list_of_available_repos for ckan 2.10
Browse files Browse the repository at this point in the history
  • Loading branch information
mutantsan committed Nov 25, 2024
1 parent a04f7cc commit 415d8c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/event_audit/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def active_repo() -> str:


def get_list_of_available_repos() -> list[str]:
return tk.config[CONF_RESTRICT_AVAILABLE_REPOS]
return tk.config.get(CONF_RESTRICT_AVAILABLE_REPOS, [])


def get_cloudwatch_credentials() -> types.AWSCredentials:
Expand Down

0 comments on commit 415d8c5

Please sign in to comment.