core-debug-2
This commit is contained in:
parent
8057af2b8e
commit
2e1a9e2ffd
|
@ -19,7 +19,7 @@ async def get_author(author_id):
|
|||
if response.status_code != 200:
|
||||
return None
|
||||
r = response.json()
|
||||
print(f"[services.core] got author: {author}")
|
||||
print(f"[services.core] got author: {r}")
|
||||
author = r.get("data", {}).get("getAuthor")
|
||||
return author
|
||||
except Exception:
|
||||
|
|
Loading…
Reference in New Issue
Block a user