mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 10:22:18 +00:00
person model: added method that return list of db columns
This commit is contained in:
@@ -60,7 +60,8 @@ class Person extends APIv1_Controller
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
$fields = $this->PersonModel->getFields();
|
||||
$this->response($fields, REST_Controller::HTTP_OK);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user