removes not used setting from app settings
All checks were successful
PiwigoDirectorySync/pipeline/head This commit looks good

This commit is contained in:
Philipp Häfelfinger 2023-09-10 23:12:05 +02:00
parent 70af13e416
commit d0a908f96c
3 changed files with 2 additions and 8 deletions

View File

@ -34,9 +34,6 @@
</ItemGroup>
<ItemGroup>
<Content Include="..\.dockerignore">
<Link>.dockerignore</Link>
</Content>
<Content Include="..\Jenkinsfile">
<Link>Jenkinsfile</Link>
</Content>

View File

@ -3,7 +3,5 @@
internal class Settings
{
public string DbProvider { get; set; } = null!;
public string ImageRootDirectory { get; set; } = null!;
public bool HasErrors => string.IsNullOrEmpty(DbProvider) || string.IsNullOrEmpty(ImageRootDirectory);
public bool HasErrors => string.IsNullOrEmpty(DbProvider);
}

View File

@ -12,7 +12,6 @@
"InMemory": "InMemorySyncDb"
},
"Settings": {
"DbProvider": "Sqlite",
"ImageRootDirectory": ".\\"
"DbProvider": "Sqlite"
}
}