From 02296f1d1c14cebda3d4d0c3f0f58897f32d8a42 Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Thu, 25 Jan 2024 02:02:36 +0100 Subject: [PATCH] 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 --- .../kotlin/suwayomi/tachidesk/graphql/types/SettingsType.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/src/main/kotlin/suwayomi/tachidesk/graphql/types/SettingsType.kt b/server/src/main/kotlin/suwayomi/tachidesk/graphql/types/SettingsType.kt index 4f4a8c828..46b8e9659 100644 --- a/server/src/main/kotlin/suwayomi/tachidesk/graphql/types/SettingsType.kt +++ b/server/src/main/kotlin/suwayomi/tachidesk/graphql/types/SettingsType.kt @@ -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,