Skip to content

Commit

Permalink
Add missed import of cld_auth
Browse files Browse the repository at this point in the history
  • Loading branch information
liadomide committed May 24, 2022
1 parent 2af4861 commit 9a7284d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tvb-widgets",
"version": "0.2.1",
"version": "0.2.2",
"description": "GUI widgets for EBRAINS showcases",
"homepage": "https://github.com/the-virtual-brain/tvb-widgets",
"license": "GPL-3.0-or-later",
Expand Down
2 changes: 2 additions & 0 deletions tvbwidgets/core/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

def get_current_token():
try:
from clb_nb_utils import oauth as clb_oauth

bearer_token = clb_oauth.get_token()
return bearer_token

Expand Down

0 comments on commit 9a7284d

Please sign in to comment.