fix: Add description field to personal contacts
- Add description to Zod validation schema - Add description to controller normalizePayload function Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -8,6 +8,7 @@ const normalizePayload = (body) => ({
|
||||
email: body.email?.trim(),
|
||||
secondaryEmail: body.secondaryEmail?.trim() || null,
|
||||
companyId: body.companyId || null,
|
||||
description: body.description?.trim() || null,
|
||||
})
|
||||
|
||||
export const listPersonalContacts = async (req, res, next) => {
|
||||
|
||||
Reference in New Issue
Block a user