Remove unnecessary stuff
Watch everything break when I do this
This commit is contained in:
parent
8e627b1671
commit
34a54c5329
3 changed files with 0 additions and 12 deletions
|
@ -13,7 +13,3 @@
|
||||||
| be assigned to the "api" middleware group. Make something great!
|
| be assigned to the "api" middleware group. Make something great!
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Route::middleware('auth:sanctum')->get('/user', function (Request $request) {
|
|
||||||
return $request->user();
|
|
||||||
});
|
|
||||||
|
|
|
@ -12,7 +12,3 @@
|
||||||
| used to check if an authenticated user can listen to the channel.
|
| used to check if an authenticated user can listen to the channel.
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Broadcast::channel('App.Models.User.{id}', function ($user, $id) {
|
|
||||||
return (int) $user->id === (int) $id;
|
|
||||||
});
|
|
||||||
|
|
|
@ -13,7 +13,3 @@
|
||||||
| simple approach to interacting with each command's IO methods.
|
| simple approach to interacting with each command's IO methods.
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Artisan::command('inspire', function () {
|
|
||||||
$this->comment(Inspiring::quote());
|
|
||||||
})->purpose('Display an inspiring quote');
|
|
||||||
|
|
Loading…
Reference in a new issue