Loading app/src/main/java/foundation/e/accountmanager/syncadapter/SyncManager.kt +1 −1 Original line number Diff line number Diff line Loading @@ -311,7 +311,7 @@ abstract class SyncManager<ResourceType: LocalResource<*>, out CollectionType: L } val fileName = local.fileName!! useRemote(DavResource(httpClient.okHttpClient, collectionURL.newBuilder().addPathSegment(fileName).build())) { remote -> useRemote(DavResource(httpClient.okHttpClient, collectionURL.newBuilder().addPathSegment(fileName).build(), accountSettings.credentials().authState?.accessToken)) { remote -> // generate entity to upload (VCard, iCal, whatever) val body = prepareUpload(local) Loading Loading
app/src/main/java/foundation/e/accountmanager/syncadapter/SyncManager.kt +1 −1 Original line number Diff line number Diff line Loading @@ -311,7 +311,7 @@ abstract class SyncManager<ResourceType: LocalResource<*>, out CollectionType: L } val fileName = local.fileName!! useRemote(DavResource(httpClient.okHttpClient, collectionURL.newBuilder().addPathSegment(fileName).build())) { remote -> useRemote(DavResource(httpClient.okHttpClient, collectionURL.newBuilder().addPathSegment(fileName).build(), accountSettings.credentials().authState?.accessToken)) { remote -> // generate entity to upload (VCard, iCal, whatever) val body = prepareUpload(local) Loading