This commit is contained in:
freek 2018-11-26 23:52:01 +01:00
parent d9c7111f9d
commit 636bf67d6c
2 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,5 @@
<?php <?php
use BeyondCode\LaravelWebSockets\Dashboard\Http\Middleware\Authorize;
use BeyondCode\LaravelWebSockets\ClientProviders\ConfigClientProvider; use BeyondCode\LaravelWebSockets\ClientProviders\ConfigClientProvider;
return [ return [

View File

@ -12,7 +12,7 @@ class FetchChannel extends EchoController
$channel = $this->channelManager->find($request->appId, $request->channelName); $channel = $this->channelManager->find($request->appId, $request->channelName);
if (is_null($channel)) { if (is_null($channel)) {
throw new HttpException(404, 'Unknown channel "'.$request->channelName.'"'); throw new HttpException(404, "Unknown channel `{$request->channelName}`.");
} }
return $channel->toArray(); return $channel->toArray();