Icon refactor
This commit is contained in:
@@ -69,7 +69,6 @@ export const GET: APIRoute = async ({ params, locals }) => {
|
||||
invoice: {
|
||||
...invoice,
|
||||
notes: invoice.notes || null,
|
||||
// Ensure null safety for optional fields that might be undefined in some runtimes depending on driver
|
||||
discountValue: invoice.discountValue ?? null,
|
||||
discountType: invoice.discountType ?? null,
|
||||
discountAmount: invoice.discountAmount ?? null,
|
||||
|
||||
Reference in New Issue
Block a user