Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating a deal overwrites its value #105

Open
756gzdz5 opened this issue Jan 26, 2022 · 2 comments
Open

Updating a deal overwrites its value #105

756gzdz5 opened this issue Jan 26, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@756gzdz5
Copy link

var editDeal = deal.ToUpdate();
editDeal.Status = DealStatus.won;
await client.Deal.Edit(deal.Id, editDeal);

This snippet will not only update the deal's status but also set its value to 0. This is not the case when I update the deal using Postman.

@756gzdz5
Copy link
Author

756gzdz5 commented Feb 8, 2022

In the meantime, I found out that this issue is preventing me from updating deals that have products attached to them.

@756gzdz5
Copy link
Author

@DavidRouyer I don't want to annoy you but I'd like to ask if you're working on that nonetheless?

@DavidRouyer DavidRouyer added the bug Something isn't working label Oct 11, 2022
andreasmo added a commit to andreasmo/pipedrive-dotnet that referenced this issue Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants