diff --git a/app/Services/SyncService.php b/app/Services/SyncService.php index c64923f..3186144 100644 --- a/app/Services/SyncService.php +++ b/app/Services/SyncService.php @@ -50,6 +50,7 @@ public function sync(): array $report = []; $baseUrl = "http://{$this->peerIp}:{$this->peerPort}"; + $peerCursor = (int) \App\Models\OsurgInitial::val('sync_peer_cursor', 0); $ourLastSync = SyncLog::lastSyncId(); try {