updates
This commit is contained in:
@@ -196,7 +196,6 @@ export const createInterest = async (data: Partial<Interest>) => {
|
||||
"Date Added",
|
||||
"Width",
|
||||
"Depth",
|
||||
"Created At",
|
||||
"Source",
|
||||
"Contact Method Preferred",
|
||||
"Lead Category",
|
||||
@@ -214,11 +213,6 @@ export const createInterest = async (data: Partial<Interest>) => {
|
||||
}
|
||||
}
|
||||
|
||||
// Set Created At to current timestamp if not provided
|
||||
if (!cleanData["Created At"]) {
|
||||
cleanData["Created At"] = new Date().toISOString();
|
||||
}
|
||||
|
||||
// Remove any computed or relation fields that shouldn't be sent
|
||||
delete cleanData.Id;
|
||||
delete cleanData.Berths;
|
||||
|
||||
Reference in New Issue
Block a user