Skip to content

Bug fixes for delete encounters endpoint#193

Merged
sher812 merged 1 commit into
se701team3:mainfrom
sher812:bug-fix-delete-encounter
Mar 16, 2022
Merged

Bug fixes for delete encounters endpoint#193
sher812 merged 1 commit into
se701team3:mainfrom
sher812:bug-fix-delete-encounter

Conversation

@sher812

@sher812 sher812 commented Mar 16, 2022

Copy link
Copy Markdown
Contributor

Changed updateOne(...$Pullall) to updateMany(). UpdateOne() method wasn't returning correct modifiedcount value or removing the encounterIDs from the User document.

Fix(#184 )

@AdamAWiener AdamAWiener left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM - good to see this addressed

@sher812 sher812 changed the title Fixed potential bug for deleteUserEncounter() method Bug fixes for delete encounters endpoint Mar 16, 2022

@jimwang6012 jimwang6012 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

@sher812 sher812 merged commit 989c91d into se701team3:main Mar 16, 2022
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