mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
remove task name once importer is done
This commit is contained in:
parent
d82eda1f32
commit
5614cb5580
2 changed files with 5 additions and 2 deletions
|
|
@ -252,7 +252,8 @@ export const importer = Sentry.GCPFunction.wrapHttpFunction(
|
|||
req.body.integrationName,
|
||||
claims.token,
|
||||
token,
|
||||
'IMPORT'
|
||||
'IMPORT',
|
||||
null
|
||||
)
|
||||
if (!result) {
|
||||
console.error('failed to update integration', {
|
||||
|
|
|
|||
|
|
@ -31,7 +31,8 @@ export const updateIntegration = async (
|
|||
name: string,
|
||||
integrationToken: string,
|
||||
token: string,
|
||||
type: string
|
||||
type: string,
|
||||
taskName?: string | null
|
||||
): Promise<boolean> => {
|
||||
const requestData = JSON.stringify({
|
||||
query: `
|
||||
|
|
@ -56,6 +57,7 @@ export const updateIntegration = async (
|
|||
token: integrationToken,
|
||||
enabled: true,
|
||||
type,
|
||||
taskName,
|
||||
},
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue