mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Update GQL
This commit is contained in:
parent
35e6e3d7ae
commit
982349cef2
4 changed files with 687 additions and 14 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -43,7 +43,7 @@ extension DataService {
|
|||
let mutation = Selection.Mutation {
|
||||
try $0.createLabel(
|
||||
input: InputObjects.CreateLabelInput(
|
||||
color: label.color,
|
||||
color: OptionalArgument(label.color),
|
||||
description: OptionalArgument(label.labelDescription),
|
||||
name: label.name
|
||||
),
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ extension DataService {
|
|||
let mutation = Selection.Mutation {
|
||||
try $0.setLabels(
|
||||
input: InputObjects.SetLabelsInput(
|
||||
labelIds: labelIDs,
|
||||
labelIds: OptionalArgument(labelIDs),
|
||||
pageId: itemID
|
||||
),
|
||||
selection: selection
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ public extension DataService {
|
|||
try $0.setLabelsForHighlight(
|
||||
input: InputObjects.SetLabelsForHighlightInput(
|
||||
highlightId: highlightID,
|
||||
labelIds: labelIDs
|
||||
labelIds: OptionalArgument(labelIDs)
|
||||
),
|
||||
selection: selection
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue