diff --git a/resolvers/author.py b/resolvers/author.py index 7ea6e941..d32222a8 100644 --- a/resolvers/author.py +++ b/resolvers/author.py @@ -177,7 +177,7 @@ async def get_author(_, _info, slug="", author_id=None): elif author_id: q = select(Author).where(Author.id == author_id) q = add_author_stat_columns(q) - print(f"[resolvers.author] SQL: {q}") + # print(f"[resolvers.author] SQL: {q}") authors = get_authors_from_query(q) if authors: return authors[0] diff --git a/services/auth.py b/services/auth.py index e0efca5f..a0d76d66 100644 --- a/services/auth.py +++ b/services/auth.py @@ -71,6 +71,7 @@ def login_required(f): context = info.context # print(context) req = context.get("request") + print(f"[services.auth] request: {req}") # Performing authentication check is_authenticated, user_id = await check_auth(req) if not is_authenticated: