adj checkout
This commit is contained in:
@@ -43,9 +43,9 @@ func Checkout(input *e.Encounter) error {
|
||||
return helper.DoJsonRequest(input, "PATCH", endpoint)
|
||||
}
|
||||
|
||||
func Cancel(input *e.Encounter) error {
|
||||
func UpdateStatus(input *e.Encounter) error {
|
||||
prefixEndpoint := getPrefixEndpoint()
|
||||
endpoint := fmt.Sprintf("%s/%v/cancel", prefixEndpoint, input.Id)
|
||||
endpoint := fmt.Sprintf("%s/%v/update-status", prefixEndpoint, input.Id)
|
||||
return helper.DoJsonRequest(input, "PATCH", endpoint)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user