mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-06 05:43:03 +02:00
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 a new issue