From e31b6d450af4b6f2be8633c39ae82ce023c2d956 Mon Sep 17 00:00:00 2001 From: Tony Rewin Date: Mon, 22 Nov 2021 09:38:14 +0300 Subject: [PATCH] fix typo 2 --- migration/tables/comments.py | 2 +- migration/tables/content_items.py | 2 +- schema.graphql | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/migration/tables/comments.py b/migration/tables/comments.py index 9b613388..ddf50f79 100644 --- a/migration/tables/comments.py +++ b/migration/tables/comments.py @@ -37,7 +37,7 @@ def migrate(entry): deletedAt: DateTime deletedBy: Int rating: Int - ratigns: [CommentRating] + ratings: [CommentRating] views: Int old_id: String old_thread: String diff --git a/migration/tables/content_items.py b/migration/tables/content_items.py index 78db4a3b..ba5082e5 100644 --- a/migration/tables/content_items.py +++ b/migration/tables/content_items.py @@ -53,7 +53,7 @@ def migrate(entry, users_by_oid, topics_by_oid): deletedAt: DateTime deletedBy: Int rating: Int - ratigns: [Rating] + ratings: [Rating] published: Bool! publishedAt: DateTime # if there is no published field - it is not published replyTo: String # another shout diff --git a/schema.graphql b/schema.graphql index d74c43ac..cc81c538 100644 --- a/schema.graphql +++ b/schema.graphql @@ -216,7 +216,7 @@ type Comment { deletedAt: DateTime deletedBy: Int rating: Int - ratigns: [CommentRating] + ratings: [CommentRating] views: Int old_id: String old_thread: String @@ -238,7 +238,7 @@ type Shout { createdAt: DateTime! authors: [User!]! comments: [Comment] - ratigns: [Rating] + ratings: [Rating] visibleFor: [User] community: Int cover: String