only query for deleteScheduledAt when needed
This commit is contained in:
parent
a12e969bd1
commit
58a9d03e28
|
@ -99,6 +99,7 @@ export default forwardRef(function Reply ({ item, onSuccess, replyOpen, children
|
|||
mutation upsertComment($text: String!, $parentId: ID!, $hash: String, $hmac: String) {
|
||||
upsertComment(text: $text, parentId: $parentId, hash: $hash, hmac: $hmac) {
|
||||
...CommentFields
|
||||
deleteScheduledAt
|
||||
comments {
|
||||
...CommentsRecursive
|
||||
}
|
||||
|
|
|
@ -6,7 +6,6 @@ export const COMMENT_FIELDS = gql`
|
|||
parentId
|
||||
createdAt
|
||||
deletedAt
|
||||
deleteScheduledAt
|
||||
text
|
||||
user {
|
||||
id
|
||||
|
|
|
@ -55,7 +55,6 @@ export const ITEM_FULL_FIELDS = gql`
|
|||
fragment ItemFullFields on Item {
|
||||
...ItemFields
|
||||
text
|
||||
deleteScheduledAt
|
||||
root {
|
||||
id
|
||||
title
|
||||
|
|
Loading…
Reference in New Issue