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:
@ -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) {
|
||||
|
Reference in New Issue
Block a user