Added some prisma schema changes. (untested)

- Not fully implemented yet.
- Renamed ToDo -> TODO
This commit is contained in:
2023-05-14 13:33:15 +02:00
parent 75a5580366
commit 6344134a9e
3 changed files with 43 additions and 16 deletions

View File

@ -54,7 +54,7 @@ export default class config {
}
// BUG: If file does'nt exist -> fail.
// ToDo: Check for SyntaxError on fileread and ask if the user wants to continue -> overwrite everything. This behavior is currently standard.
// TODO: Check for SyntaxError on fileread and ask if the user wants to continue -> overwrite everything. This behavior is currently standard.
/*

View File

@ -55,7 +55,7 @@ export default (req: Request, res: Response) => {
const promise = prisma.item.create({
data: {
name: record.name,
Amount: parseInt(record.amount),
amount: parseInt(record.amount),
Comment: record.comment,
category: {
connect: {