Skip to content

Commit bc2aad9

Browse files
committed
updates
1 parent 59320e6 commit bc2aad9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

components/microsoft_dynamics_365_sales/sources/opportunity-close-date-updated/opportunity-close-date-updated.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
...common,
55
key: "microsoft_dynamics_365_sales-opportunity-close-date-updated",
66
name: "Opportunity Close Date Updated",
7-
description: "Emit new event when the close date of an opportunity is updated.",
7+
description: "Emit new event when the estimated close date of an opportunity is updated.",
88
version: "0.0.1",
99
type: "source",
1010
dedupe: "unique",

components/microsoft_dynamics_365_sales/sources/opportunity-stage-updated/opportunity-stage-updated.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ export default {
3333
const stages = this._getStages();
3434
const relevantResults = [];
3535
for (const result of results) {
36-
if (stages[result.opportunityid] !== result.stageid) {
36+
if (stages[result.opportunityid] !== result.stepname) {
3737
if (stages[result.opportunityid]) {
3838
relevantResults.push(result);
3939
}
40-
stages[result.opportunityid] = result.stageid;
40+
stages[result.opportunityid] = result.stepname;
4141
}
4242
}
4343
this._setStages(stages);

0 commit comments

Comments
 (0)