Bugfix/bad build (#829)
* Fixed bad build * More directory service issues in Program
This commit is contained in:
parent
f6ca201951
commit
ce2542bf17
1 changed files with 4 additions and 1 deletions
|
|
@ -74,7 +74,10 @@ namespace API
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var directoryService = services.GetRequiredService<DirectoryService>();
|
// This doesn't work either
|
||||||
|
//var directoryService = services.GetRequiredService<DirectoryService>();
|
||||||
|
var directoryService = new DirectoryService(null, new FileSystem());
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
var requiresCoverImageMigration = !Directory.Exists(directoryService.CoverImageDirectory);
|
var requiresCoverImageMigration = !Directory.Exists(directoryService.CoverImageDirectory);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue