From 60ad23c244c2f3e592e1512a121ee853f39d8f9f Mon Sep 17 00:00:00 2001 From: Roberto Oliveros Date: Thu, 15 Jan 2026 16:46:51 -0600 Subject: [PATCH 1/2] Include application/json header when PATCHing activity --- packages/v1-ready/pipedrive/src/api.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/v1-ready/pipedrive/src/api.ts b/packages/v1-ready/pipedrive/src/api.ts index 8ddcc9f..b35ed37 100644 --- a/packages/v1-ready/pipedrive/src/api.ts +++ b/packages/v1-ready/pipedrive/src/api.ts @@ -192,6 +192,9 @@ export class Api extends OAuth2Requester { const options: RequestOptions = { url: this.baseUrl + this.URLs.activityById(activityId), body: task, + headers: { + "Content-Type": "application/json", + }, }; return this._patch(options); } From 35c10f74d4b7293489c4ee5e1358b3f70ba1e8a1 Mon Sep 17 00:00:00 2001 From: Roberto Oliveros Date: Thu, 15 Jan 2026 17:34:31 -0600 Subject: [PATCH 2/2] Remove never read variables --- packages/v1-ready/pipedrive/src/api.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/v1-ready/pipedrive/src/api.ts b/packages/v1-ready/pipedrive/src/api.ts index b35ed37..af33cf8 100644 --- a/packages/v1-ready/pipedrive/src/api.ts +++ b/packages/v1-ready/pipedrive/src/api.ts @@ -200,9 +200,6 @@ export class Api extends OAuth2Requester { } async createActivity(params: ActivityParams): Promise { - const dealId = get(params, "dealId", null); - const subject = get(params, "subject"); - const type = get(params, "type"); const options: RequestOptions = { url: this.baseUrl + this.URLs.activities, body: { ...params },