fix(GRO-785): restore eslint-disable for intentionally unused _tipSplits var
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -363,6 +363,7 @@ invoicesRouter.patch(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Destructure tipSplits out — it belongs to a separate table, not the invoices column
|
// Destructure tipSplits out — it belongs to a separate table, not the invoices column
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
const { tipSplits: _tipSplits, ...updateBody } = body as Record<string, unknown>;
|
const { tipSplits: _tipSplits, ...updateBody } = body as Record<string, unknown>;
|
||||||
const update: Record<string, unknown> = { ...updateBody, updatedAt: new Date() };
|
const update: Record<string, unknown> = { ...updateBody, updatedAt: new Date() };
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user