mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-06-30 17:34:39 -05:00
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:
@@ -175,9 +175,9 @@ class SettingsType(
|
|||||||
// local source
|
// local source
|
||||||
override val localSourcePath: String,
|
override val localSourcePath: String,
|
||||||
// cloudflare bypass
|
// cloudflare bypass
|
||||||
override val flareSolverrEnabled: Boolean?,
|
override val flareSolverrEnabled: Boolean,
|
||||||
override val flareSolverrUrl: String?,
|
override val flareSolverrUrl: String,
|
||||||
override val flareSolverrTimeout: Int?,
|
override val flareSolverrTimeout: Int,
|
||||||
) : Settings {
|
) : Settings {
|
||||||
constructor(config: ServerConfig = serverConfig) : this(
|
constructor(config: ServerConfig = serverConfig) : this(
|
||||||
config.ip.value,
|
config.ip.value,
|
||||||
|
|||||||
Reference in New Issue
Block a user