Change flaresolverr settings to be non optional (#852)

The settings are not optional in the ServerConfig, thus, they should also not be optional in the returned settings type
This commit is contained in:
schroda
2024-01-25 02:02:36 +01:00
committed by GitHub
parent 63e1082b97
commit 02296f1d1c
@@ -175,9 +175,9 @@ class SettingsType(
// local source
override val localSourcePath: String,
// cloudflare bypass
override val flareSolverrEnabled: Boolean?,
override val flareSolverrUrl: String?,
override val flareSolverrTimeout: Int?,
override val flareSolverrEnabled: Boolean,
override val flareSolverrUrl: String,
override val flareSolverrTimeout: Int,
) : Settings {
constructor(config: ServerConfig = serverConfig) : this(
config.ip.value,