Refactor Checkbox (#932)
* Refactor Checkbox * Complete note completion * Fixes * Fix login
This commit is contained in:
@ -18,6 +18,7 @@ export const GET_COMMENT_THREADS_BY_TARGETS = gql`
|
||||
title
|
||||
body
|
||||
type
|
||||
completedAt
|
||||
author {
|
||||
id
|
||||
firstName
|
||||
@ -54,6 +55,7 @@ export const GET_COMMENT_THREAD = gql`
|
||||
body
|
||||
title
|
||||
type
|
||||
completedAt
|
||||
author {
|
||||
id
|
||||
firstName
|
||||
|
||||
@ -68,15 +68,22 @@ export const UPDATE_COMMENT_THREAD = gql`
|
||||
$body: String
|
||||
$title: String
|
||||
$type: ActivityType
|
||||
$completedAt: DateTime
|
||||
) {
|
||||
updateOneCommentThread(
|
||||
where: { id: $id }
|
||||
data: { body: $body, title: $title, type: $type }
|
||||
data: {
|
||||
body: $body
|
||||
title: $title
|
||||
type: $type
|
||||
completedAt: $completedAt
|
||||
}
|
||||
) {
|
||||
id
|
||||
body
|
||||
title
|
||||
type
|
||||
completedAt
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user