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

Feature/deactivate account fix #56

Merged
merged 37 commits into from
Jan 19, 2024
Merged

Conversation

Filienko
Copy link

@Filienko Filienko commented Dec 14, 2023

Creating CLI commands to disable and enable active as per https://www.pivotaltracker.com/story/show/185455581

@Filienko Filienko requested a review from pbugni December 14, 2023 00:16
isacc_messaging/api/isacc_record_creator.py Outdated Show resolved Hide resolved
isacc_messaging/models/isacc_patient.py Outdated Show resolved Hide resolved
isacc_messaging/models/isacc_patient.py Show resolved Hide resolved
@Filienko Filienko marked this pull request as ready for review January 10, 2024 19:21
@Filienko Filienko requested a review from pbugni January 10, 2024 19:22
isacc_messaging/api/views.py Outdated Show resolved Hide resolved
isacc_messaging/api/views.py Outdated Show resolved Hide resolved
@Filienko Filienko requested review from pbugni and achen2401 January 17, 2024 22:47
Copy link

@pbugni pbugni left a comment

Choose a reason for hiding this comment

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

This looks good, but I'm concerned about on_twilio_message_received()

We don't include the active check when looking up a patient there, so if there happens to be 2 patients with the same phone number, first_in_bundle() could give you the in-active one.

I think you should modify the query there, and remove the pt.active checks below there.

@Filienko Filienko requested a review from pbugni January 18, 2024 17:17
Copy link

@pbugni pbugni left a comment

Choose a reason for hiding this comment

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

one minor nit to fix.

isacc_messaging/api/isacc_record_creator.py Outdated Show resolved Hide resolved
@Filienko Filienko requested a review from pbugni January 18, 2024 18:48
@Filienko Filienko merged commit 4898b7a into dev Jan 19, 2024
2 checks passed
@Filienko Filienko deleted the feature/deactivate-account-fix branch January 19, 2024 00:58
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