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

Dispense drug by id functionaliy #66

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

sarross88
Copy link
Collaborator

Description

_1) This has all my previous changes as well as this one fixes dispense drug with the new endpoint via Tristan, but the kink is that the URL is not working based on what I have from him that the payload needs. I console logged the values to double check it was updating them. Not sure what the problem is there, but now you can see the simplified version with the endpoints. Maybe backend can look at this and see if my URL looks ok. I need to add toast alerts and redirection after this is fixed.

Copy link
Collaborator

@GinaCastromonte GinaCastromonte left a comment

Choose a reason for hiding this comment

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

It looks like you're using medicationID in your payload, but the backend expects it to be medicationId (with a lowercase "d").

@sarross88
Copy link
Collaborator Author

All changes have been made and are now working!

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