*Fix API bug.
This commit is contained in:
@@ -246,6 +246,18 @@ class baseEntry
|
||||
$this->send($code, $response);
|
||||
}
|
||||
|
||||
/**
|
||||
* Send 400 response.
|
||||
*
|
||||
* @param string message
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function send400($message = 'error')
|
||||
{
|
||||
$this->sendError(400, $message);
|
||||
}
|
||||
|
||||
/**
|
||||
* Send 404 response.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user