fix: pass in config repo instead of using the global getter (#4039)
This commit is contained in:
@@ -38,7 +38,7 @@ func New(datastore *data.Datastore) ConfigRepository {
|
||||
datastore: datastore,
|
||||
}
|
||||
|
||||
migrateDatastoreValues(datastore)
|
||||
migrateDatastoreValues(datastore, &r)
|
||||
|
||||
// Set the server initialization date if needed.
|
||||
if hasSetInitDate, _ := r.GetServerInitTime(); hasSetInitDate == nil || !hasSetInitDate.Valid {
|
||||
|
||||
Reference in New Issue
Block a user