Refine transaction list rows
This commit is contained in:
@@ -42,7 +42,7 @@ export default defineEventHandler(async (event) => {
|
||||
categoryId: body.categoryId,
|
||||
amount: Number(body.amount),
|
||||
title: body.title.trim(),
|
||||
memo: body.memo?.trim() || null,
|
||||
memo: body.memo?.trim().slice(0, 60) || null,
|
||||
latitude: body.latitude ?? null,
|
||||
longitude: body.longitude ?? null
|
||||
},
|
||||
|
||||
@@ -38,7 +38,7 @@ export default defineEventHandler(async (event) => {
|
||||
categoryId: body.categoryId,
|
||||
amount: Number(body.amount),
|
||||
title: body.title.trim(),
|
||||
memo: body.memo?.trim() || null,
|
||||
memo: body.memo?.trim().slice(0, 60) || null,
|
||||
latitude: body.latitude ?? null,
|
||||
longitude: body.longitude ?? null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user