You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This method needs to sort out whether the appropriate arguments have been passed, and if not, an appropriate ValueError should be raised indicating what is missing.
The text was updated successfully, but these errors were encountered:
samamorgan
changed the title
Calling CDTs.get() with no arguments calls the wrong endpoint.
Calling CDTs.get() with no arguments calls the wrong endpoint
Sep 19, 2023
If you call
patient.CDTs().get()
with no arguments,welkin.models.cdt.CDTs.get
calls the patient endpoint ({instance}/patients/{patient_id}
).Calling
{instance}/patients/{patient_id}/cdts
results in a 404:This method needs to sort out whether the appropriate arguments have been passed, and if not, an appropriate
ValueError
should be raised indicating what is missing.The text was updated successfully, but these errors were encountered: