last-seen-mark-remove
All checks were successful
deploy / deploy (push) Successful in 1m21s

This commit is contained in:
2023-12-18 18:37:39 +03:00
parent 8830908307
commit 8e8952dd46
2 changed files with 4 additions and 8 deletions

View File

@@ -95,10 +95,6 @@ async def get_my_followed(_, info):
with local_session() as session:
author = session.query(Author).filter(Author.user == user_id).first()
if author:
# update author's last_seen timestamp
author.last_seen = time.time()
session.add(author)
authors_query = (
select(Author)
.join(AuthorFollower, AuthorFollower.follower == Author.id)