diff --git a/shared/src/commonMain/kotlin/bou/amine/apps/readerforselfossv2/rest/SelfossApi.kt b/shared/src/commonMain/kotlin/bou/amine/apps/readerforselfossv2/rest/SelfossApi.kt index cc3118e..bd0447f 100644 --- a/shared/src/commonMain/kotlin/bou/amine/apps/readerforselfossv2/rest/SelfossApi.kt +++ b/shared/src/commonMain/kotlin/bou/amine/apps/readerforselfossv2/rest/SelfossApi.kt @@ -365,27 +365,6 @@ class SelfossApi( suspend fun update(): StatusAndData = bodyOrFailure( client.tryToGet(url("/update")) { - if (!shouldHavePostLogin()) { - parameter("username", appSettingsService.getUserName()) - parameter("password", appSettingsService.getPassword()) - } - if (appSettingsService - .getBasicUserName() - .isNotEmpty() && - appSettingsService.getBasicPassword().isNotEmpty() - ) { - headers { - append( - HttpHeaders.Authorization, - constructBasicAuthValue( - BasicAuthCredentials( - username = appSettingsService.getBasicUserName(), - password = appSettingsService.getBasicPassword(), - ), - ), - ) - } - } headers { append( HttpHeaders.Accept,