Remove changes to messages transform
This commit is contained in:
parent
4874b53c7c
commit
b9e1e6030f
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ const sync = sequential(async function syncAPI(messages, since, fileId) {
|
|||
await actual.internal.send('load-budget', { id: fileId });
|
||||
}
|
||||
|
||||
const messagesDeserialized = messages.map(envPb => {
|
||||
messages = messages.map(envPb => {
|
||||
let timestamp = envPb.getTimestamp();
|
||||
let msg = SyncPb.Message.deserializeBinary(envPb.getContent());
|
||||
return {
|
||||
|
@ -27,7 +27,7 @@ const sync = sequential(async function syncAPI(messages, since, fileId) {
|
|||
};
|
||||
});
|
||||
|
||||
const newMessages = await actual.internal.syncAndReceiveMessages(messagesDeserialized, since);
|
||||
const newMessages = await actual.internal.syncAndReceiveMessages(messages, since);
|
||||
|
||||
return {
|
||||
trie: actual.internal.timestamp.getClock().merkle,
|
||||
|
|
Loading…
Reference in a new issue