Skip to content

Commit

Permalink
fix: hotfix for allowing event creation on pipedrive (#366)
Browse files Browse the repository at this point in the history
  • Loading branch information
jatinsandilya authored Nov 16, 2023
1 parent e4147dc commit af29a31
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/backend/services/crm/event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,7 @@ const eventService = new EventService(
break;
}
case TP_ID.pipedrive: {
// FIXME: start & end time of a meeting is not being updated correctly.
const eventUpdated = await axios.put<{ data: Partial<PipedriveEvent> }>(
`${connection.tp_account_url}/v1/activities/${eventId}`,
event,
Expand All @@ -484,6 +485,7 @@ const eventService = new EventService(
...eventUpdated.data.data,
},
});
break;
}
default: {
throw new NotFoundError({ error: 'Unrecognized CRM' });
Expand Down

1 comment on commit af29a31

@vercel
Copy link

@vercel vercel bot commented on af29a31 Nov 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

revert-client – ./

revert-client-git-main-revertdev.vercel.app
app.revert.dev
revert-client-revertdev.vercel.app

Please sign in to comment.