Skip to content

Commit

Permalink
Fix deadlock in service init
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Nov 18, 2023
1 parent 707f94c commit 599ccb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions budgetkey_api/modules/list_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@


def setup_list_manager(app):
auth_endpoint = f'https://{os.environ["EXTERNAL_ADDRESS"]}/auth/'
verifyer_args = dict(auth_endpoint=auth_endpoint)
verifyer_args = dict(public_key=os.environ['PUBLIC_KEY'])

app.register_blueprint(
list_manager_blueprint(verifyer_args=verifyer_args),
Expand Down
1 change: 1 addition & 0 deletions tests/sample.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
PRIVATE_KEY=PRIVATE_KEY
PUBLIC_KEY=PUBLIC_KEY
DATABASE_PRIVATE_URL=sqlite:///tests/temp/db.sqlite3
DATABASE_READONLY_URL=sqlite:///tests/temp/db.sqlite3
EXTERNAL_ADDRESS=next.obudget.org

0 comments on commit 599ccb8

Please sign in to comment.