Skip to content

Commit

Permalink
Update packages/sync-server/src/app-pluggyai/app-pluggyai.js
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Fiddaman <github@m.fiddaman.uk>
  • Loading branch information
lelemm and matt-fidd authored Feb 27, 2025
1 parent 458f8ea commit 5b34a53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sync-server/src/app-pluggyai/app-pluggyai.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ app.post(
};

newTrans.transactionId = trans.id;
newTrans.sortOrder = trans.date;
newTrans.sortOrder = transactionDate.getTime();

const finalTrans = { ...flattenObject(trans), ...newTrans };
if (newTrans.booked) {
Expand Down

0 comments on commit 5b34a53

Please sign in to comment.