From 65bd2ef9cfb98a933614a6afb7bdb8171c688554 Mon Sep 17 00:00:00 2001 From: Untone Date: Sat, 2 Nov 2024 06:27:31 +0300 Subject: [PATCH] author-created-at-fix --- resolvers/reader.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resolvers/reader.py b/resolvers/reader.py index 689594c6..45c0e67d 100644 --- a/resolvers/reader.py +++ b/resolvers/reader.py @@ -73,7 +73,8 @@ def query_with_stat(info): "id", main_author.id, "name", main_author.name, "slug", main_author.slug, - "pic", main_author.pic + "pic", main_author.pic, + "created_at", main_author.created_at ).label("main_author") ) @@ -123,6 +124,7 @@ def query_with_stat(info): "slug", Author.slug, "pic", Author.pic, "caption", ShoutAuthor.caption, + "created_at", Author.created_at ) ).label("authors") )