File tree Expand file tree Collapse file tree 2 files changed +0
-42
lines changed Expand file tree Collapse file tree 2 files changed +0
-42
lines changed Original file line number Diff line number Diff line change @@ -92,47 +92,6 @@ const saveMapping = async (
92
92
}
93
93
} ;
94
94
95
- // const saveMappings = async (mappingsInput: Mapping[]) => {
96
- // console.log("mappingsInput", mappingsInput);
97
95
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
- // };
137
96
138
97
export { deleteMapping , getMappings , saveMapping } ;
Original file line number Diff line number Diff line change @@ -321,7 +321,6 @@ export const createNativeProperty = async (
321
321
customerId : string ,
322
322
data : Properties ,
323
323
) => {
324
- console . log ( "data" , data ) ;
325
324
const createPropertyResponse = await prisma . properties . create ( {
326
325
data : {
327
326
...data ,
You can’t perform that action at this time.
0 commit comments