1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-06-07 16:06:08 +00:00

Fix an error after rebasing with latest version

This commit is contained in:
Abel García de Prada 2022-06-09 11:25:37 +02:00
parent 79173af930
commit b25fbc4604

View File

@ -97,7 +97,7 @@ open class UploadFileFromFileSystemOperation(
}
putMethod = PutMethod(URL(client.userFilesWebDavUri.toString() + WebdavUtils.encodePath(remotePath)), fileRequestBody!!).apply {
setRetryOnConnectionFailure(false)
retryOnConnectionFailure = false
if (!requiredEtag.isNullOrBlank()) {
addRequestHeader(HttpConstants.IF_MATCH_HEADER, requiredEtag)
}