Skip to content

Commit

Permalink
🐛 Minor api key value issue
Browse files Browse the repository at this point in the history
change the key expected value to vlaue
  • Loading branch information
rajesh-jonnalagadda committed Jun 6, 2024
1 parent dcba333 commit 799529b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/api/src/crm/deal/services/close/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ export class CloseDealMapper implements IDealMapper {
}
}


let opts: any = {};
if (deal.user_id) {
const owner_id = await this.utils.getUserUuidFromRemoteId(
Expand Down Expand Up @@ -133,7 +132,7 @@ export class CloseDealMapper implements IDealMapper {
remote_id: deal.id,
name: deal.note,
description: deal.note, // Placeholder if there's no direct mapping
amount: parseFloat(`${deal.expected_value || 0}`),
amount: parseFloat(`${deal.value || 0}`),
//TODO; stage_id: deal.properties.dealstage,
field_mappings,
...opts,
Expand Down

0 comments on commit 799529b

Please sign in to comment.