diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/sync/service/SyncYomiSyncService.kt b/app/src/main/java/eu/kanade/tachiyomi/data/sync/service/SyncYomiSyncService.kt index d0295b7e6..7abd45b80 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/sync/service/SyncYomiSyncService.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/sync/service/SyncYomiSyncService.kt @@ -25,8 +25,7 @@ class SyncYomiSyncService( override suspend fun pushSyncData(): SyncData? { val host = syncPreferences.syncHost().get() val apiKey = syncPreferences.syncAPIKey().get() - val deviceId = syncPreferences.deviceID().get() - val downloadUrl = "$host/api/sync/download?deviceId=$deviceId" + val downloadUrl = "$host/api/sync/download" val client = OkHttpClient() val headers = Headers.Builder().add("X-API-Token", apiKey).build() diff --git a/domain/src/main/java/tachiyomi/domain/sync/SyncPreferences.kt b/domain/src/main/java/tachiyomi/domain/sync/SyncPreferences.kt index fb922ef8f..7b01c1d6f 100644 --- a/domain/src/main/java/tachiyomi/domain/sync/SyncPreferences.kt +++ b/domain/src/main/java/tachiyomi/domain/sync/SyncPreferences.kt @@ -14,7 +14,5 @@ class SyncPreferences( fun deviceName() = preferenceStore.getString("device_name", android.os.Build.MANUFACTURER + android.os.Build.PRODUCT) - fun deviceID() = preferenceStore.getInt("device_id", 0) - fun syncService() = preferenceStore.getInt("sync_service", 0) }