Skip to content

Commit

Permalink
Confluence connector improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeneP committed Dec 4, 2023
1 parent 086e366 commit 3d95e16
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion confluence/provider/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ def get_client():

assert (url := app.config.get("PRODUCT_URL")), "CONFLUENCE_PRODUCT_URL must be set"
assert (user := app.config.get("USER")), "CONFLUENCE_USER must be set"
assert (api_token := app.config.get("API_TOKEN")), "CONFLUENCE_API_TOKEN must be set"
assert (
api_token := app.config.get("API_TOKEN")
), "CONFLUENCE_API_TOKEN must be set"
assert (space := app.config.get("SPACE_NAME")), "CONFLUENCE_SPACE_NAME must be set"
search_limit = app.config.get("SEARCH_LIMIT", 10)
client = ConfluenceClient(url, user, api_token, space, search_limit)
Expand Down

0 comments on commit 3d95e16

Please sign in to comment.