1
0
mirror of https://koodu.h-i.works/projects/thebadspace synced 2025-06-25 16:04:37 -05:00

consolidated getLocation function

changed the function that retrieves a single location to decide what to
get based on the variable type, so it doesn't need to be two seperate
functions
This commit is contained in:
ro
2024-02-16 15:34:09 -06:00
parent 021a43f36a
commit 9d750fd76f
3 changed files with 13 additions and 7 deletions

View File

@ -20,7 +20,7 @@ class AppServiceProvider extends ServiceProvider
});
$this->app->bind(UpdateService::class, function ($app) {
return new UpdateService(new Location());
return new UpdateService(new LocationRepository(new Location()));
});
$this->app->bind(MaintenanceService::class, function ($app) {