Fix onboarding status refacto (#6533)
see comments in https://github.com/twentyhq/twenty/pull/6531#pullrequestreview-2217807413 - rename method - add check before setting create profile pending user var
This commit is contained in:
@ -73,7 +73,7 @@ export class BackfillNewOnboardingUserVarsCommand extends CommandRunner {
|
||||
});
|
||||
|
||||
for (const user of workspace.users) {
|
||||
await this.onboardingService.setOnboardingCreateProfileCompletion({
|
||||
await this.onboardingService.setOnboardingCreateProfilePending({
|
||||
userId: user.id,
|
||||
workspaceId: workspace.id,
|
||||
value: true,
|
||||
|
||||
Reference in New Issue
Block a user