Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusab committed Dec 14, 2024
1 parent 9b69e2a commit 933ccfc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/dashboard/jobs/tasks/transactions/export.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export const exportTransactions = schemaTask({

const csv = await writeToString(rows, {
headers: [
"ID",
"Date",
"Description",
"Additional info",
Expand Down
1 change: 1 addition & 0 deletions apps/dashboard/jobs/tasks/transactions/process-export.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export const processExport = schemaTask({
const rows = transactionsData
?.sort((a, b) => new Date(a.date).getTime() - new Date(b.date).getTime())
.map((transaction) => [
transaction.id,
transaction.date,
transaction.name,
transaction.description,
Expand Down

0 comments on commit 933ccfc

Please sign in to comment.