1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-08 05:57:03 +09:00

Correctly send object type

This commit is contained in:
Mikhail Rakhmanov 2025-04-03 14:45:07 +02:00
parent ab5caa097e
commit 01b04d7dd2
No known key found for this signature in database
GPG key ID: DED12CFEF5B8396B

View file

@ -100,7 +100,7 @@ func (h *HeadUpdate) ProtoMessage() (proto.Message, error) {
SpaceId: h.Meta.SpaceId, SpaceId: h.Meta.SpaceId,
Payload: payload, Payload: payload,
ObjectId: h.Meta.ObjectId, ObjectId: h.Meta.ObjectId,
ObjectType: h.objectType, ObjectType: h.Update.ObjectType(),
}, nil }, nil
} }
return NewMessage(), nil return NewMessage(), nil