removes not used setting from app settings
All checks were successful
PiwigoDirectorySync/pipeline/head This commit looks good
All checks were successful
PiwigoDirectorySync/pipeline/head This commit looks good
This commit is contained in:
parent
70af13e416
commit
d0a908f96c
@ -34,9 +34,6 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="..\.dockerignore">
|
|
||||||
<Link>.dockerignore</Link>
|
|
||||||
</Content>
|
|
||||||
<Content Include="..\Jenkinsfile">
|
<Content Include="..\Jenkinsfile">
|
||||||
<Link>Jenkinsfile</Link>
|
<Link>Jenkinsfile</Link>
|
||||||
</Content>
|
</Content>
|
||||||
|
@ -3,7 +3,5 @@
|
|||||||
internal class Settings
|
internal class Settings
|
||||||
{
|
{
|
||||||
public string DbProvider { get; set; } = null!;
|
public string DbProvider { get; set; } = null!;
|
||||||
public string ImageRootDirectory { get; set; } = null!;
|
public bool HasErrors => string.IsNullOrEmpty(DbProvider);
|
||||||
|
|
||||||
public bool HasErrors => string.IsNullOrEmpty(DbProvider) || string.IsNullOrEmpty(ImageRootDirectory);
|
|
||||||
}
|
}
|
@ -12,7 +12,6 @@
|
|||||||
"InMemory": "InMemorySyncDb"
|
"InMemory": "InMemorySyncDb"
|
||||||
},
|
},
|
||||||
"Settings": {
|
"Settings": {
|
||||||
"DbProvider": "Sqlite",
|
"DbProvider": "Sqlite"
|
||||||
"ImageRootDirectory": ".\\"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user