fixed up missing checks from labelService, BadRequestException is now extending StatusException

Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca>
This commit is contained in:
Ryan Fletcher
2018-07-20 09:26:36 -04:00
committed by Julius Härtl
parent 507a7fd243
commit 72aeb723a5
3 changed files with 38 additions and 2 deletions

View File

@@ -24,7 +24,7 @@
namespace OCA\Deck;
use OCP\AppFramework\Http;
class BadRequestException extends \Exception {
class BadRequestException extends StatusException {
public function __construct($message) {
parent::__construct($message);