Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/v1-ready/pipedrive/src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,14 +192,14 @@ 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);
}

async createActivity(params: ActivityParams): Promise<PipedriveResponse> {
const dealId = get(params, "dealId", null);
const subject = get(params, "subject");
const type = get(params, "type");
Copy link
Author

Choose a reason for hiding this comment

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

Needed new push to PR for canary release, so I removed dead code

const options: RequestOptions = {
url: this.baseUrl + this.URLs.activities,
body: { ...params },
Expand Down
Loading