X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=app%2FModels%2FEpisode.php;h=2084a32b53f67c53ba0df0720c0f3d0c597973c8;hb=5a575dc29f3af10f1d8e142ff9e1c6ccdfa3b075;hp=15af89cf76f715135d299f00ec902ec27cd9f5f2;hpb=b3beaab812bf23fec423d1d0823b2a25b137ccae;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() {