diff --git a/migration/tables/replacements.json b/migration/tables/replacements.json index 4a141c67..8344d29c 100644 --- a/migration/tables/replacements.json +++ b/migration/tables/replacements.json @@ -202,6 +202,7 @@ "eduard-limonov": "eduard-limonov", "education": "education", "egor-letov": "egor-letov", + "ekspat": "expat", "eksperiment": "experiments", "eksperimentalnaya-muzyka": "experimental-music", "ekspressionizm": "expressionism", @@ -542,6 +543,7 @@ "pomosch": "help", "pop-art": "pop-art", "pop-culture": "pop-culture", + "populyarnaya-psihologiya": "popular-psychology", "pornografiya": "pornography", "portret": "portrait", "poslovitsy": "proverbs", @@ -634,11 +636,13 @@ "second-world-war": "second-world-war", "sekond-hend": "second-hand", "seksprosvet": "sex-education", + "seksualizirovannoe-nasilie": "sexualized-violence", "seksualnoe-nasilie": "sexual-violence", "sekty": "sects", "semi": "semi", "semiotics": "semiotics", "serbiya": "serbia", + "sergey-bodrov-mladshiy": "sergey-bodrov-junior", "sergey-solov-v": "sergey-solovyov", "serialy": "series", "sever": "north", @@ -659,13 +663,13 @@ "social": "society", "society": "society", "sociology": "sociology", - "sotsiologiya-1": "sociology", "sofya-paleolog": "sofya-paleolog", "sofya-vitovtovna": "sofya-vitovtovna", "soobschestva": "communities", "soprotivlenie": "resistence", "sotsializm": "socialism", "sotsialnaya-filosofiya": "social-philosophy", + "sotsiologiya-1": "sociology", "sotsseti": "social-networks", "sotvorenie-tretego-rima": "third-rome", "sovremennost": "modernity", diff --git a/resolvers/profile.py b/resolvers/profile.py index f94a4902..dec1235c 100644 --- a/resolvers/profile.py +++ b/resolvers/profile.py @@ -22,7 +22,7 @@ async def get_user_subscriptions(slug): "unread": await get_unread_counter(slug), # unread inbox messages counter "topics": [t.slug for t in get_followed_topics(0, slug)], # followed topics slugs "authors": [a.slug for a in get_followed_authors(0, slug)], # followed authors slugs - "reactions": [r.shout for r in get_reactions_for_shouts(0, [slug, ])], # followed reacted shouts slugs + "reactions": [r.shout for r in get_reactions_for_shouts(0, [slug, ])], # followed reacted shout "communities": [c.slug for c in get_followed_communities(0, slug)], # followed communities slugs }