commit
bdbb80121a
2 changed files with 4 additions and 4 deletions
|
@ -33,7 +33,7 @@ export default async function entityCreateUpdate({
|
|||
data: {
|
||||
name: name,
|
||||
type: type,
|
||||
defaultCategoryId: defaultCategoryId,
|
||||
defaultCategoryId: defaultCategoryId ?? null,
|
||||
},
|
||||
},
|
||||
);
|
||||
|
@ -49,7 +49,7 @@ export default async function entityCreateUpdate({
|
|||
userId: user.id,
|
||||
name: name,
|
||||
type: type,
|
||||
defaultCategoryId: defaultCategoryId,
|
||||
defaultCategoryId: defaultCategoryId ?? null,
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ export default async function paymentCreateUpdate({
|
|||
date: date,
|
||||
payorId: payorId,
|
||||
payeeId: payeeId,
|
||||
categoryId: categoryId,
|
||||
categoryId: categoryId ?? null,
|
||||
note: note,
|
||||
},
|
||||
},
|
||||
|
@ -57,7 +57,7 @@ export default async function paymentCreateUpdate({
|
|||
date: date,
|
||||
payorId: payorId,
|
||||
payeeId: payeeId,
|
||||
categoryId: categoryId,
|
||||
categoryId: categoryId ?? null,
|
||||
note: note,
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue