mirror of
https://github.com/lingble/twenty.git
synced 2025-11-02 05:37:56 +00:00
@@ -31,6 +31,7 @@ export class CopyWebhookOperationIntoOperationsCommand extends ActiveWorkspacesC
|
|||||||
this.logger.log('Running command to copy operation to operations');
|
this.logger.log('Running command to copy operation to operations');
|
||||||
|
|
||||||
for (const workspaceId of activeWorkspaceIds) {
|
for (const workspaceId of activeWorkspaceIds) {
|
||||||
|
try {
|
||||||
this.logger.log(`Running command for workspace ${workspaceId}`);
|
this.logger.log(`Running command for workspace ${workspaceId}`);
|
||||||
|
|
||||||
const webhookRepository =
|
const webhookRepository =
|
||||||
@@ -66,10 +67,19 @@ export class CopyWebhookOperationIntoOperationsCommand extends ActiveWorkspacesC
|
|||||||
});
|
});
|
||||||
|
|
||||||
this.logger.log(
|
this.logger.log(
|
||||||
chalk.yellow(`Handled webhook operation updates for ${webhook.id}`),
|
chalk.yellow(
|
||||||
|
`Handled webhook operation updates for ${webhook.id}`,
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} catch (e) {
|
||||||
|
this.logger.log(
|
||||||
|
chalk.red(
|
||||||
|
`Error when running command on workspace ${workspaceId}: ${e}`,
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user