return shot gql with an annotation update
All checks were successful
Tests / Tests (pull_request) Successful in 16s

This commit is contained in:
2024-10-23 15:51:53 -07:00
parent f98c98ecdd
commit a78f9e7b9d
3 changed files with 48 additions and 52 deletions

View File

@@ -22,17 +22,22 @@ mutation UpdateShotAnnotations(
$annotations: [UpdateAnnotationInputGQL!]!
) {
updateShotAnnotations(shotId: $shotId, annotations: $annotations) {
value {
... on SuccessfulUpdate {
value
}
... on UpdateShotAnnotationErrors {
error {
shotId
msg
shot {
id
annotations {
shotId
type {
id
name
}
notes
errorDefault
}
}
error {
shotId
msg
}
}
}