parent
fa5ef9d858
commit
a4a994dc19
3 changed files with 15 additions and 6 deletions
|
@ -90,6 +90,11 @@ class APIv1 extends CustomModule
|
|||
{
|
||||
// Unsure why I had to put this here, I guess it's being overridden somewhere in PICKLES
|
||||
header('Content-type: application/json');
|
||||
|
||||
if (isset($this->return['response_code']))
|
||||
{
|
||||
Browser::status($this->return['response_code']);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue