app/frontend/mutations/add_comment.mutation.graphql in decidim-comments-0.22.0 vs app/frontend/mutations/add_comment.mutation.graphql in decidim-comments-0.23.0
- old
+ new
@@ -1,8 +1,8 @@
#import "../fragments/comment_thread.fragment.graphql"
-mutation addComment($commentableId: String!, $commentableType: String!, $body: String!, $alignment: Int, $userGroupId: ID) {
- commentable(id: $commentableId, type: $commentableType) {
+mutation addComment($commentableId: String!, $commentableType: String!, $body: String!, $alignment: Int, $userGroupId: ID, $locale: String!, $toggleTranslations: Boolean!) {
+ commentable(id: $commentableId, type: $commentableType, locale: $locale, toggleTranslations: $toggleTranslations) {
addComment(body: $body, alignment: $alignment, userGroupId: $userGroupId) {
...CommentThread
}
}
}