@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -Route::group(['prefix' => 'api/exponent/devices', 'middleware' => 'auth:api, bindings'], function () { |
|
| 3 | +Route::group(['prefix' => 'api/exponent/devices', 'middleware' => 'auth:api, bindings'], function() { |
|
| 4 | 4 | Route::post('subscribe', [ |
| 5 | 5 | 'as' => 'register-interest', |
| 6 | 6 | 'uses' => 'NotificationChannels\ExpoPushNotifications\Http\ExpoController@subscribe', |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | { |
| 18 | 18 | $this->app->when(ExpoChannel::class) |
| 19 | 19 | ->needs(Expo::class) |
| 20 | - ->give(function () { |
|
| 20 | + ->give(function() { |
|
| 21 | 21 | return new Expo(new ExpoRegistrar(new ExpoFileDriver())); |
| 22 | 22 | }); |
| 23 | 23 | |