Skip to content

Commit a6f8a5e

Browse files
authored
fixed missing api exception handler error
1 parent 5581f30 commit a6f8a5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Providers/ApiServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function register()
3434
$this->app->singleton(\LaraPackage\RandomId\Contracts\Retriever::class, \LaraPackage\RandomId\Retriever::class);
3535
$this->app->singleton(\LaraPackage\Api\Contracts\Repository\Helper\Relational::class, \LaraPackage\Api\Repository\Helper\Relational::class);
3636

37-
$this->app->singleton(\LaraPackage\Api\Contracts\Exceptions\ApiExceptionHandler::class, \LaraPackage\Api\ApiExceptionHandler::class);
37+
$this->app->singleton(\LaraPackage\Api\Contracts\Exceptions\ApiExceptionHandler::class, \LaraPackage\Api\Exceptions\ApiExceptionHandler::class);
3838

3939
$this->app->singleton(\LaraPackage\Api\Contracts\PayloadCreator::class, \LaraPackage\Api\Implementations\PayloadCreator::class);
4040
$this->app->singleton(\LaraPackage\Api\Contracts\RepresentationCreator::class, \LaraPackage\Api\Implementations\RepresentationCreator::class);

0 commit comments

Comments
 (0)