Skip to content

Commit

Permalink
fix dup data
Browse files Browse the repository at this point in the history
  • Loading branch information
domechn committed Aug 1, 2023
1 parent 54965d2 commit c6397c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/middlelayers/cloudsync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ async function dumpAssetsFromCloudAfterCreatedAt(createdAt?: number): Promise<As
amount: record.amount,
value: record.value,
price: record.price,
wallet: record.wallet,
}))
.value()
return _(needSyncedAssets).map((asset) => ({
Expand All @@ -213,6 +214,7 @@ async function dumpAssetsFromCloudAfterCreatedAt(createdAt?: number): Promise<As
amount: asset.amount,
value: asset.value,
price: asset.price,
wallet: asset.wallet,
})).value()
}

Expand Down

0 comments on commit c6397c3

Please sign in to comment.