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

This commit is contained in:
2024-05-06 11:27:15 +03:00
parent d15b36a0f1
commit f6b21174bf
2 changed files with 5 additions and 3 deletions

View File

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