Refactor Checkbox (#932)

* Refactor Checkbox

* Complete note completion

* Fixes

* Fix login
This commit is contained in:
Charles Bochet
2023-07-25 21:58:57 -07:00
committed by GitHub
parent 09a019da5d
commit 66585fce9a
17 changed files with 552 additions and 258 deletions

View File

@ -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

View File

@ -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
}
}
`;