mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
fix mutation error
This commit is contained in:
parent
a939d0f484
commit
ca371b6d42
1 changed files with 3 additions and 3 deletions
|
|
@ -13,7 +13,7 @@ export interface Task {
|
|||
|
||||
interface ExportToIntegrationDataResponseData {
|
||||
exportToIntegration: {
|
||||
Task: Task
|
||||
task: Task
|
||||
errorCodes?: string[]
|
||||
}
|
||||
}
|
||||
|
|
@ -26,7 +26,7 @@ export async function exportToIntegrationMutation(integrationId: string) {
|
|||
errorCodes
|
||||
}
|
||||
... on ExportToIntegrationSuccess {
|
||||
Task {
|
||||
task {
|
||||
id
|
||||
}
|
||||
}
|
||||
|
|
@ -41,5 +41,5 @@ export async function exportToIntegrationMutation(integrationId: string) {
|
|||
throw error
|
||||
}
|
||||
|
||||
return output.exportToIntegration.Task
|
||||
return output.exportToIntegration.task
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue