mirror of
https://github.com/1f349/lotus.git
synced 2024-12-22 08:04:06 +00:00
Add sync value
This commit is contained in:
parent
43d1e56c88
commit
d970469645
@ -69,7 +69,7 @@ func (c *Client) HandleWS(action string, args json.RawMessage) (map[string]any,
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return map[string]any{"type": "fetch", "sync": 0, "value": marshal.MessageSliceJson(fetch)}, nil
|
return map[string]any{"type": "fetch", "sync": fetchArgs.Sync, "value": marshal.MessageSliceJson(fetch)}, nil
|
||||||
case "move":
|
case "move":
|
||||||
// TODO: implementation
|
// TODO: implementation
|
||||||
case "rename":
|
case "rename":
|
||||||
|
Loading…
Reference in New Issue
Block a user