mirror of
https://github.com/mihonapp/mihon.git
synced 2025-10-20 01:59:43 +02:00
refactor: don't need device id.
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user