Skip to content

Commit

Permalink
feat: hack to continue with login process even when first PROPFIND re…
Browse files Browse the repository at this point in the history
…turns a 404
  • Loading branch information
JuancaG05 committed Nov 26, 2024
1 parent 8c75995 commit ebd3514
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class GetBaseUrlRemoteOperation : RemoteOperation<String?>() {

val status = client.executeHttpMethod(propFindMethod)

if (isSuccess(status)) {
if (isSuccess(status) || status == HttpConstants.HTTP_NOT_FOUND) {
RemoteOperationResult<String?>(RemoteOperationResult.ResultCode.OK).apply {
data = propFindMethod.getFinalUrl().toString()
}
Expand Down

0 comments on commit ebd3514

Please sign in to comment.