duplicates fix

This commit is contained in:
bniwredyc 2023-01-29 02:56:16 +01:00
parent 94ac7143a1
commit e5dab5c48c

View File

@ -190,7 +190,6 @@ async def load_shouts_by(_, info, options):
)
for [shout_id, viewed_stat] in session.execute(viewed_stat_query).unique():
shouts.append(shout)
shouts_map[shout_id].stat['viewed'] = viewed_stat
return shouts