Skip to content

Commit

Permalink
fix(journal): sanitize added account props
Browse files Browse the repository at this point in the history
This commit ensures that newly added accounts will be properly
sanitized, and all their extra properties removed before submission to
the server.

Closes #7527.
  • Loading branch information
jniles committed Mar 1, 2024
1 parent 5b4e4b7 commit 9953c44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/src/modules/journal/journal.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ function JournalService(Api, AppCache, Filters, Periods, Modal, bhConstants, Tra
delete row.project_name;
delete row.display_name;
delete row.posted;
delete row.account_type_id;
});

return rows.data;
Expand Down

0 comments on commit 9953c44

Please sign in to comment.