fix: some data cannot be pulled

This commit is contained in:
hstyi
2025-08-14 17:41:32 +08:00
committed by hstyi
parent 117a9ea692
commit dd73b933d9

View File

@@ -126,7 +126,7 @@ class PullService private constructor() : SyncService(), Disposable, Application
while (true) {
val request = Request.Builder()
.get()
.url("${accountManager.getServer()}/v1/data/changes?since=${since}&after=${after}&limit=${limit}")
.url("${accountManager.getServer()}/v1/data/changes?since=${nextSince}&after=${after}&limit=${limit}")
.build()
val text = AccountHttp.execute(request = request)
val response = ohMyJson.decodeFromString<DataChangesResponse>(text)