Skip to content

Commit

Permalink
Change flaresolverr settings to be non optional (#852)
Browse files Browse the repository at this point in the history
The settings are not optional in the ServerConfig, thus, they should also not be optional in the returned settings type
  • Loading branch information
schroda authored Jan 25, 2024
1 parent 63e1082 commit 02296f1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 02296f1

Please sign in to comment.