Skip to content

Commit

Permalink
Decode the status prop
Browse files Browse the repository at this point in the history
  • Loading branch information
alextselegidis committed Mar 8, 2024
1 parent 105e522 commit 492a49f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions application/models/Appointments_model.php
Expand Up @@ -583,6 +583,10 @@ public function api_decode(array &$appointment, array $base = null)
$decoded_request['location'] = $appointment['location'];
}

if (array_key_exists('status', $appointment)) {
$decoded_request['status'] = $appointment['status'];
}

if (array_key_exists('notes', $appointment)) {
$decoded_request['notes'] = $appointment['notes'];
}
Expand Down

0 comments on commit 492a49f

Please sign in to comment.