unique-fix
All checks were successful
Deploy on push / deploy (push) Successful in 26s

This commit is contained in:
Untone 2024-05-06 11:23:14 +03:00
parent 232cdbfad8
commit d15b36a0f1

View File

@ -326,7 +326,7 @@ async def get_author_followers(_, _info, slug: str):
logger.debug(f"@{slug} got followers cached")
if isinstance(cached, str):
data = json.loads(cached)
return list(set(data))
return [dict(d) for d in set(tuple(d.items()) for d in data)]
except Exception as exc:
import traceback