mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-09 17:45:03 +09:00
Merge pull request #64 from anyproto/GO-1857-Add-datatype
GO-1857: Add datatype and check for periodicsync
This commit is contained in:
commit
cd12b481de
16 changed files with 175 additions and 76 deletions
|
@ -34,7 +34,7 @@ func (s *stateBuilder) Build(tr objecttree.ReadableObjectTree, oldState *State)
|
|||
state.LastIteratedId = change.Id
|
||||
return true
|
||||
}
|
||||
convert := func(decrypted []byte) (res any, err error) {
|
||||
convert := func(ch *objecttree.Change, decrypted []byte) (res any, err error) {
|
||||
deleteChange := &spacesyncproto.SettingsData{}
|
||||
err = proto.Unmarshal(decrypted, deleteChange)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue