diff --git a/src/Api/Controllers/UpdateFieldController.php b/src/Api/Controllers/UpdateFieldController.php index 3413d99..c620108 100644 --- a/src/Api/Controllers/UpdateFieldController.php +++ b/src/Api/Controllers/UpdateFieldController.php @@ -4,11 +4,9 @@ use Flarum\Api\Controller\AbstractCreateController; use Flarum\Http\RequestUtil; -use Flarum\User\Exception\PermissionDeniedException; use FoF\Masquerade\Api\Serializers\FieldSerializer; use FoF\Masquerade\Repositories\FieldRepository; use Illuminate\Support\Arr; -use Illuminate\Validation\ValidationException; use Psr\Http\Message\ServerRequestInterface; use Tobscure\JsonApi\Document; diff --git a/src/Api/Controllers/UserConfigureController.php b/src/Api/Controllers/UserConfigureController.php index 997a0b6..4bc5c48 100644 --- a/src/Api/Controllers/UserConfigureController.php +++ b/src/Api/Controllers/UserConfigureController.php @@ -3,7 +3,6 @@ namespace FoF\Masquerade\Api\Controllers; use Flarum\Http\RequestUtil; -use FoF\Masquerade\Api\Serializers\FieldSerializer; use FoF\Masquerade\Field; use FoF\Masquerade\Repositories\FieldRepository; use FoF\Masquerade\Validators\AnswerValidator;