mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-17 23:56:56 +00:00
fix(GODT-2859): Fix scope of the function + rename properly.
This commit is contained in:
@ -37,7 +37,7 @@ func (bridge *Bridge) databaseResyncNeeded() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (bridge *Bridge) TryMigrate(vault *vault.User) {
|
||||
func (bridge *Bridge) migrateUser(vault *vault.User) {
|
||||
if bridge.databaseResyncNeeded() {
|
||||
if err := bridge.reporter.ReportMessage("Database need to be re-sync for migration."); err != nil {
|
||||
logrus.WithError(err).Error("Failed to report database re-sync for migration.")
|
||||
|
||||
Reference in New Issue
Block a user