Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
austinkregel committed Jun 11, 2024
1 parent 0fefeab commit a7f1da1
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/Events/Models/Server/ServerCreated.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public function __construct(
public function broadcastOn()
{
$this->model->load('credential');

return [
new PrivateChannel('App.Models.User.'.$this->model->credential->user_id),
];
Expand Down
1 change: 1 addition & 0 deletions app/Events/Models/Server/ServerCreating.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public function __construct(
public function broadcastOn()
{
$this->model->load('credential');

return [
new PrivateChannel('App.Models.User.'.$this->model->credential->user_id),
];
Expand Down
1 change: 1 addition & 0 deletions app/Events/Models/Server/ServerDeleted.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public function __construct(
public function broadcastOn()
{
$this->model->load('credential');

return [
new PrivateChannel('App.Models.User.'.$this->model->credential->user_id),
];
Expand Down
1 change: 1 addition & 0 deletions app/Events/Models/Server/ServerDeleting.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public function __construct(
public function broadcastOn()
{
$this->model->load('credential');

return [
new PrivateChannel('App.Models.User.'.$this->model->credential->user_id),
];
Expand Down
1 change: 1 addition & 0 deletions app/Events/Models/Server/ServerUpdated.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public function __construct(
public function broadcastOn()
{
$this->model->load('credential');

return [
new PrivateChannel('App.Models.User.'.$this->model->credential->user_id),
];
Expand Down
1 change: 1 addition & 0 deletions app/Events/Models/Server/ServerUpdating.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public function __construct(
public function broadcastOn()
{
$this->model->load('credential');

return [
new PrivateChannel('App.Models.User.'.$this->model->credential->user_id),
];
Expand Down
1 change: 1 addition & 0 deletions config/scout.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

use App\Models;
Expand Down
2 changes: 0 additions & 2 deletions routes/pages/spork.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@

use App\Actions\Spork\CustomAction;
use App\Http\Controllers;
use App\Services\Code;
use App\Services\Programming\LaravelProgrammingStyle;
use Illuminate\Support\Facades\Route;
use Inertia\Inertia;
use Laravel\Scout\Searchable;

Route::middleware([
'auth:sanctum',
Expand Down

0 comments on commit a7f1da1

Please sign in to comment.