@friggframework/api-module-pipedrive 2.0.1-canary.68.e7cd801.0 → 2.0.1-canary.69.35c10f7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,5 @@
1
1
  # pipedrive
2
2
 
3
- This is the API Module for pipedrive that allows the [Frigg](https://friggframework.org) code to talk to the pipedrive
4
- API.
3
+ This is the API Module for pipedrive that allows the [Frigg](https://friggframework.org) code to talk to the pipedrive API.
5
4
 
6
- Read more on the [Frigg documentation site](https://docs.friggframework.org/api-modules/list/pipedrive
5
+ Read more on the [Frigg documentation site](https://docs.friggframework.org/api-modules/list/pipedrive
package/dist/api.js CHANGED
@@ -126,13 +126,13 @@ class Api extends core_1.OAuth2Requester {
126
126
  const options = {
127
127
  url: this.baseUrl + this.URLs.activityById(activityId),
128
128
  body: task,
129
+ headers: {
130
+ "Content-Type": "application/json",
131
+ },
129
132
  };
130
133
  return this._patch(options);
131
134
  }
132
135
  async createActivity(params) {
133
- const dealId = (0, core_1.get)(params, "dealId", null);
134
- const subject = (0, core_1.get)(params, "subject");
135
- const type = (0, core_1.get)(params, "type");
136
136
  const options = {
137
137
  url: this.baseUrl + this.URLs.activities,
138
138
  body: { ...params },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@friggframework/api-module-pipedrive",
3
- "version": "2.0.1-canary.68.e7cd801.0",
3
+ "version": "2.0.1-canary.69.35c10f7.0",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -30,5 +30,5 @@
30
30
  "publishConfig": {
31
31
  "access": "public"
32
32
  },
33
- "gitHead": "e7cd8019b1486b63b77ed39f3bfb1fefdeb11c48"
33
+ "gitHead": "35c10f74d4b7293489c4ee5e1358b3f70ba1e8a1"
34
34
  }