1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-07 21:47:02 +09:00

Correctly send object type

This commit is contained in:
Mikhail Rakhmanov 2025-04-03 14:45:07 +02:00
parent b618db90d5
commit 5afc378256
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,
Payload: payload,
ObjectId: h.Meta.ObjectId,
ObjectType: h.objectType,
ObjectType: h.Update.ObjectType(),
}, nil
}
return NewMessage(), nil