remove task name once importer is done
This commit is contained in:
@ -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,
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user