mirror of
https://github.com/lingble/twenty.git
synced 2025-11-01 21:27:58 +00:00
@@ -31,6 +31,7 @@ export class CopyWebhookOperationIntoOperationsCommand extends ActiveWorkspacesC
|
||||
this.logger.log('Running command to copy operation to operations');
|
||||
|
||||
for (const workspaceId of activeWorkspaceIds) {
|
||||
try {
|
||||
this.logger.log(`Running command for workspace ${workspaceId}`);
|
||||
|
||||
const webhookRepository =
|
||||
@@ -66,10 +67,19 @@ export class CopyWebhookOperationIntoOperationsCommand extends ActiveWorkspacesC
|
||||
});
|
||||
|
||||
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