X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=app%2FModels%2FEpisode.php;h=2084a32b53f67c53ba0df0720c0f3d0c597973c8;hb=0d1207dcfc97a2d91dccdbef869f053249f15f5a;hp=15af89cf76f715135d299f00ec902ec27cd9f5f2;hpb=e2af94795e9d8e8a2eb8c272201b4e54ebb130f0;p=alttp.git diff --git a/app/Models/Episode.php b/app/Models/Episode.php index 15af89c..2084a32 100644 --- a/app/Models/Episode.php +++ b/app/Models/Episode.php @@ -11,7 +11,9 @@ class Episode extends Model use HasFactory; public function channels() { - return $this->belongsToMany(Channel::class); + return $this->belongsToMany(Channel::class) + ->using(Restream::class) + ->withPivot('accept_comms', 'accept_tracker'); } public function crew() {