Merge pull request #1595 from Human-Connection/1454-security-issue-comment-mutations

Remove deleted/disabled/createdAt from Comment mutations
This commit is contained in:
Robert Schäfer 2019-09-16 18:20:35 +02:00 committed by GitHub
commit cb574dd850
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,16 +18,11 @@ type Mutation {
postId: ID! postId: ID!
content: String! content: String!
contentExcerpt: String contentExcerpt: String
deleted: Boolean
disabled: Boolean
createdAt: String
): Comment ): Comment
UpdateComment( UpdateComment(
id: ID! id: ID!
content: String! content: String!
contentExcerpt: String contentExcerpt: String
deleted: Boolean
disabled: Boolean
): Comment ): Comment
DeleteComment(id: ID!): Comment DeleteComment(id: ID!): Comment
} }