fixed user repo not getting initialized

This commit is contained in:
Luke Pulverenti 2013-08-18 15:44:38 -04:00
parent c59e49a8ed
commit 4dd6550ce5

View File

@ -318,7 +318,11 @@ namespace MediaBrowser.ServerApplication
var connection = await ConnectToDb(dbFile).ConfigureAwait(false);
return new SqliteUserRepository(connection, ApplicationPaths, JsonSerializer, LogManager);
var repo = new SqliteUserRepository(connection, ApplicationPaths, JsonSerializer, LogManager);
repo.Initialize();
return repo;
}
/// <summary>