Skip to content

Commit

Permalink
adding hidden to createCategory query
Browse files Browse the repository at this point in the history
  • Loading branch information
ioslife committed Dec 11, 2023
1 parent f716f3e commit 95208d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/loot-core/src/client/actions/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,14 @@ export function createCategory(
name: string,
groupId: string,
isIncome: boolean,
hidden: boolean,
) {
return async (dispatch: Dispatch) => {
const id = await send('category-create', {
name,
groupId,
isIncome,
hidden,
});
dispatch(getCategories());
return id;
Expand Down

0 comments on commit 95208d1

Please sign in to comment.