fixes
This commit is contained in:
@@ -4,7 +4,8 @@ namespace Lucent\Channel;
|
||||
|
||||
use Lucent\Channel\Data\UserCommand;
|
||||
use Lucent\Primitive\Collection;
|
||||
use Lucent\Schema\Schema;
|
||||
use Lucent\Data\Schema;
|
||||
use Lucent\Data\ChannelAuth;
|
||||
|
||||
final class Channel
|
||||
{
|
||||
@@ -18,6 +19,7 @@ final class Channel
|
||||
*/
|
||||
function __construct(
|
||||
public string $name,
|
||||
public ChannelAuth $auth,
|
||||
public string $url,
|
||||
public string $previewTarget,
|
||||
public Collection $commands,
|
||||
@@ -27,7 +29,6 @@ final class Channel
|
||||
) {
|
||||
$this->lucentUrl = $url . "/lucent";
|
||||
$this->filesUrl = $this->makeFilesUrl();
|
||||
|
||||
$this->previewTargetUrl = $url . "/" . $previewTarget;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user