This commit is contained in:
parent
232cdbfad8
commit
d15b36a0f1
|
@ -326,7 +326,7 @@ async def get_author_followers(_, _info, slug: str):
|
||||||
logger.debug(f"@{slug} got followers cached")
|
logger.debug(f"@{slug} got followers cached")
|
||||||
if isinstance(cached, str):
|
if isinstance(cached, str):
|
||||||
data = json.loads(cached)
|
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:
|
except Exception as exc:
|
||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user