aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/oauth2/collections.py
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-03-22 23:37:36 +0300
committerBonfaceKilz2024-03-26 10:01:13 +0300
commit06ea37c38102249348fba005ef4a16b4cfcaaa1c (patch)
tree68565be118d40db08edd0e42a69e9cfe35e42db5 /gn2/wqflask/oauth2/collections.py
parent9033290cb5867bbc186a8a2682f85b1e89773496 (diff)
downloadgenenetwork2-06ea37c38102249348fba005ef4a16b4cfcaaa1c.tar.gz
Import user_logged_in from the clients module.
Importing "user_logged_in" in the checks module just to export adds a layer of indirection and makes the code hard to read. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn2/wqflask/oauth2/collections.py')
-rw-r--r--gn2/wqflask/oauth2/collections.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn2/wqflask/oauth2/collections.py b/gn2/wqflask/oauth2/collections.py
index 63bf206e..994867b8 100644
--- a/gn2/wqflask/oauth2/collections.py
+++ b/gn2/wqflask/oauth2/collections.py
@@ -1,6 +1,6 @@
"""Functions for collections."""
from .session import session_info
-from .checks import user_logged_in
+from .client import user_logged_in
from .client import oauth2_get, no_token_get
def num_collections() -> int: