Skip to content

Commit b28ed8d

Browse files
committed
getting rid of console logs and commented function
1 parent dbbcfc0 commit b28ed8d

File tree

2 files changed

+0
-42
lines changed

2 files changed

+0
-42
lines changed

src/mappings.ts

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -92,47 +92,6 @@ const saveMapping = async (
9292
}
9393
};
9494

95-
// const saveMappings = async (mappingsInput: Mapping[]) => {
96-
// console.log("mappingsInput", mappingsInput);
9795

98-
// if (mappingsInput.length > 0) {
99-
// const mappingResults = mappingsInput.map(async (maybeMapping) => {
100-
// const mappingName = maybeMapping.nativeName;
101-
// const hubspotName = maybeMapping.hubspotName;
102-
// const hubspotLabel = maybeMapping.hubspotLabel;
103-
// const object = maybeMapping.object;
104-
// const direction = maybeMapping.direction;
105-
// const customerId = getCustomerId();
106-
107-
// const mappingResult = await prisma.mapping.upsert({
108-
// where: {
109-
// nativeName_object_customerId: {
110-
// nativeName: mappingName,
111-
// customerId: customerId,
112-
// object: object,
113-
// },
114-
// },
115-
// update: {
116-
// hubspotLabel,
117-
// hubspotName,
118-
// direction,
119-
// },
120-
// create: {
121-
// hubspotLabel,
122-
// hubspotName,
123-
// nativeName: mappingName,
124-
// object: object,
125-
// customerId: customerId,
126-
// direction: direction,
127-
// },
128-
// });
129-
130-
// return mappingResult;
131-
// });
132-
133-
// return await Promise.all(mappingResults);
134-
// }
135-
// return {};
136-
// };
13796

13897
export { deleteMapping, getMappings, saveMapping };

src/properties.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,6 @@ export const createNativeProperty = async (
321321
customerId: string,
322322
data: Properties,
323323
) => {
324-
console.log("data", data);
325324
const createPropertyResponse = await prisma.properties.create({
326325
data: {
327326
...data,

0 commit comments

Comments
 (0)