Skip to content

Commit 91a20f7

Browse files
committed
bug fix
1 parent e49a80d commit 91a20f7

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

components/hubspot/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/hubspot",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Pipedream Hubspot Components",
55
"main": "hubspot.app.mjs",
66
"keywords": [

components/hubspot/sources/new-deal-in-stage/new-deal-in-stage.mjs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
key: "hubspot-new-deal-in-stage",
88
name: "New Deal In Stage",
99
description: "Emit new event for each new deal in a stage.",
10-
version: "0.0.23",
10+
version: "0.0.24",
1111
dedupe: "unique",
1212
type: "source",
1313
props: {
@@ -85,14 +85,9 @@ export default {
8585
},
8686
async processDeals(params, after) {
8787
let maxTs = after || 0;
88-
const limiter = this._limiter();
8988

9089
do {
91-
const results = await this._requestWithLimiter(
92-
limiter,
93-
this.hubspot.searchCRM.bind(this),
94-
params,
95-
);
90+
const results = await this.hubspot.searchCRM(params);
9691
if (results.paging) {
9792
params.after = results.paging.next.after;
9893
} else {

0 commit comments

Comments
 (0)