File tree 1 file changed +2
-2
lines changed
komga/src/main/kotlin/org/gotson/komga/interfaces/api/kobo
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ class KoboController(
175
175
fun syncLibrary (
176
176
@AuthenticationPrincipal principal : KomgaPrincipal ,
177
177
@PathVariable authToken : String ,
178
- ): ResponseEntity <Collection <SyncResultDto >> {
178
+ ): ResponseEntity <Collection <Any >> {
179
179
val syncTokenReceived = komgaSyncTokenGenerator.fromRequestHeaders(getCurrentRequest()) ? : KomgaSyncToken ()
180
180
181
181
// find the ongoing sync point, else create one
@@ -278,7 +278,7 @@ class KoboController(
278
278
if (koboProxy.isEnabled()) {
279
279
try {
280
280
val koboStoreResponse = koboProxy.proxyCurrentRequest(includeSyncToken = true )
281
- val syncResultsKobo = koboStoreResponse.body?.let { mapper.treeToValue<Collection <SyncResultDto >>(it) } ? : emptyList()
281
+ val syncResultsKobo = koboStoreResponse.body?.let { mapper.treeToValue<Collection <Any >>(it) } ? : emptyList()
282
282
val syncTokenKobo = koboStoreResponse.headers[X_KOBO_SYNCTOKEN ]?.firstOrNull()?.let { komgaSyncTokenGenerator.fromBase64(it) }
283
283
val shouldContinueSyncKobo = koboStoreResponse.headers[X_KOBO_SYNC ]?.firstOrNull()?.lowercase() == " continue"
284
284
You can’t perform that action at this time.
0 commit comments