Update Controller Patient pada method show v2
This commit is contained in:
parent
f91b584909
commit
d8d532edb9
@ -278,7 +278,7 @@ class Patient extends Controller {
|
||||
return $this->failValidationError('No data provided for update.');
|
||||
}
|
||||
|
||||
$this->db->table('patient')->where('PatientID', $InternalPID)->update($data);
|
||||
$this->db->table('patient')->where('InternalPID', $InternalPID)->update($data);
|
||||
|
||||
// Sukses & Insert = 201 - Kirim data patient ID
|
||||
return $this->respondCreated([
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user