fix(GODT-2859): Fix scope of the function + rename properly.

This commit is contained in:
Romain LE JEUNE
2023-08-10 08:32:54 +02:00
parent b24937b666
commit d72980e443
2 changed files with 3 additions and 3 deletions

View File

@ -524,8 +524,8 @@ func (bridge *Bridge) addUserWithVault(
return fmt.Errorf("failed to get Statistics directory: %w", err)
}
// re-set SyncStatus if database need to be re-sync for migration.
bridge.TryMigrate(vault)
// re-set SyncStatus if database need to be re-synced for migration.
bridge.migrateUser(vault)
user, err := user.New(
ctx,