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

Pet update fix #1753

Closed
wants to merge 3 commits into from
Closed

Conversation

smnk107
Copy link

@smnk107 smnk107 commented Dec 20, 2024

I have made a little change in side processUpdateForm api, in petController file. To update the pet details for an owner, we are iterating the existing pet list and if any pet id matches with the changed pet id, we are replacing that pet details with the updated details.

@pivotal-cla
Copy link

@smnk107 Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-cla
Copy link

@smnk107 Thank you for signing the Contributor License Agreement!

owner.addPet(pet);
owner.updatePet(pet);

||||||| 6148ddd
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not ready to merge

@smnk107 smnk107 closed this by deleting the head repository Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants