diff options
Diffstat (limited to 'syncapi/consumers/eduserver_receipts.go')
-rw-r--r-- | syncapi/consumers/eduserver_receipts.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syncapi/consumers/eduserver_receipts.go b/syncapi/consumers/eduserver_receipts.go index 3361e134..5c286cf0 100644 --- a/syncapi/consumers/eduserver_receipts.go +++ b/syncapi/consumers/eduserver_receipts.go @@ -88,7 +88,7 @@ func (s *OutputReceiptEventConsumer) onMessage(msg *sarama.ConsumerMessage) erro return err } // update stream position - s.notifier.OnNewReceipt(types.NewStreamToken(0, streamPos, nil)) + s.notifier.OnNewReceipt(types.StreamingToken{ReceiptPosition: streamPos}) return nil } |