fixed user repo not getting initialized
This commit is contained in:
parent
c59e49a8ed
commit
4dd6550ce5
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user