diff --git a/resolvers/author.py b/resolvers/author.py index 8351326b..c738d606 100644 --- a/resolvers/author.py +++ b/resolvers/author.py @@ -284,3 +284,4 @@ async def create_author(user_id: str, slug: str): new_author = Author(user=user_id, slug=slug) session.add(new_author) session.commit() + print(f"[resolvers.author] created by webhook {new_author.dict()}") diff --git a/services/auth.py b/services/auth.py index c2272f64..b45958b3 100644 --- a/services/auth.py +++ b/services/auth.py @@ -71,7 +71,7 @@ def login_required(f): context = info.context # print(context) req = context.get("request") - print(f"[services.auth] request headers: {req.headers}") + print(f"[services.auth] login_required request headers: {req.headers}") # Performing authentication check is_authenticated, user_id = await check_auth(req) if not is_authenticated: