diff --git a/commonspace/objectsync/objectsync.go b/commonspace/objectsync/objectsync.go index c70db5fa..6f6c8810 100644 --- a/commonspace/objectsync/objectsync.go +++ b/commonspace/objectsync/objectsync.go @@ -110,7 +110,8 @@ func (s *objectSync) handleMessage(ctx context.Context, senderId string, msg *sp obj, err := s.objectGetter.GetObject(ctx, msg.ObjectId) if err != nil { log.DebugCtx(ctx, "failed to get object") - return s.unmarshallSendError(ctx, msg, err, msg.ObjectId, senderId) + // TODO: write tests for object sync https://linear.app/anytype/issue/GO-1299/write-tests-for-commonspaceobjectsync + return s.unmarshallSendError(ctx, msg, err, senderId, msg.ObjectId) } return obj.HandleMessage(ctx, senderId, msg) }