File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -116,9 +116,6 @@ export const MarkLeadAsContact = async (req, res) => {
116
116
117
117
console . log ( "inside MarkLeadAsContact----------------" , id ) ;
118
118
119
- const response = await updateLeadById ( id ) ;
120
-
121
- console . log ( "response of update lead is" , response ) ;
122
119
const lead = await getLeadById ( id ) ;
123
120
console . log ( "lead" , lead ) ;
124
121
const contact = {
@@ -144,6 +141,8 @@ export const MarkLeadAsContact = async (req, res) => {
144
141
console . log ( "calling contact emmiter from lead controller" ) ;
145
142
newContactEmmiter ( client , 10000 , pipeline ) ;
146
143
const contactResult = await insertContact ( contact ) ;
144
+ // const response = await updateLeadById(id);
145
+ const response = await deleteLeadById ( id ) ;
147
146
148
147
console . log ( "MarkLeadAsContact contactResult is---" , contactResult ) ;
149
148
You can’t perform that action at this time.
0 commit comments