gutendex integration phase 2
This commit is contained in:
@@ -11,7 +11,10 @@ class AppServiceProvider extends ServiceProvider
|
||||
*/
|
||||
public function register(): void
|
||||
{
|
||||
//
|
||||
// Register GutendexClient as a singleton
|
||||
$this->app->singleton(\App\Services\GutendexClient::class, function ($app) {
|
||||
return new \App\Services\GutendexClient();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user