Added some prisma schema changes. (untested)
- Not fully implemented yet. - Renamed ToDo -> TODO
This commit is contained in:
@ -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.
|
||||
|
||||
/*
|
||||
|
||||
|
@ -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: {
|
||||
|
Reference in New Issue
Block a user