aboutsummaryrefslogtreecommitdiff
path: root/syncapi/streams/stream_devicelist.go
diff options
context:
space:
mode:
Diffstat (limited to 'syncapi/streams/stream_devicelist.go')
-rw-r--r--syncapi/streams/stream_devicelist.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/syncapi/streams/stream_devicelist.go b/syncapi/streams/stream_devicelist.go
index f4209951..5448ee5b 100644
--- a/syncapi/streams/stream_devicelist.go
+++ b/syncapi/streams/stream_devicelist.go
@@ -28,7 +28,7 @@ func (p *DeviceListStreamProvider) IncrementalSync(
from, to types.StreamPosition,
) types.StreamPosition {
var err error
- to, _, err = internal.DeviceListCatchup(context.Background(), p.keyAPI, p.rsAPI, req.Device.UserID, req.Response, from, to)
+ to, _, err = internal.DeviceListCatchup(context.Background(), p.DB, p.keyAPI, p.rsAPI, req.Device.UserID, req.Response, from, to)
if err != nil {
req.Log.WithError(err).Error("internal.DeviceListCatchup failed")
return from