Fix exception thrown due to lack of pre-validation on the model.
closes #1158
This commit is contained in:
parent
fae5acf99f
commit
6967b9ba12
5 changed files with 29 additions and 9 deletions
|
@ -104,8 +104,6 @@ class DatabaseController extends ApplicationApiController
|
|||
* @return \Illuminate\Http\JsonResponse
|
||||
*
|
||||
* @throws \Exception
|
||||
* @throws \Pterodactyl\Exceptions\DisplayException
|
||||
* @throws \Pterodactyl\Exceptions\Model\DataValidationException
|
||||
*/
|
||||
public function store(StoreServerDatabaseRequest $request): JsonResponse
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue