duplicates fix
This commit is contained in:
parent
94ac7143a1
commit
e5dab5c48c
|
@ -190,7 +190,6 @@ async def load_shouts_by(_, info, options):
|
||||||
)
|
)
|
||||||
|
|
||||||
for [shout_id, viewed_stat] in session.execute(viewed_stat_query).unique():
|
for [shout_id, viewed_stat] in session.execute(viewed_stat_query).unique():
|
||||||
shouts.append(shout)
|
|
||||||
shouts_map[shout_id].stat['viewed'] = viewed_stat
|
shouts_map[shout_id].stat['viewed'] = viewed_stat
|
||||||
|
|
||||||
return shouts
|
return shouts
|
||||||
|
|
Loading…
Reference in New Issue
Block a user