Fixes for middleware props

This commit is contained in:
David Bomba 2025-04-19 13:23:23 +10:00
parent 51d57bda5d
commit d56ef3f93c
3 changed files with 17 additions and 20 deletions

View File

@ -29,7 +29,6 @@ use App\Http\Middleware\PhantomSecret;
use App\Http\Middleware\QueryLogging; use App\Http\Middleware\QueryLogging;
use App\Http\Middleware\RedirectIfAuthenticated; use App\Http\Middleware\RedirectIfAuthenticated;
use App\Http\Middleware\SessionDomains; use App\Http\Middleware\SessionDomains;
use App\Http\Middleware\SetDb;
use App\Http\Middleware\SetDbByCompanyKey; use App\Http\Middleware\SetDbByCompanyKey;
use App\Http\Middleware\SetDocumentDb; use App\Http\Middleware\SetDocumentDb;
use App\Http\Middleware\SetDomainNameDb; use App\Http\Middleware\SetDomainNameDb;
@ -150,7 +149,6 @@ class Kernel extends HttpKernel
'portal_enabled' => ClientPortalEnabled::class, 'portal_enabled' => ClientPortalEnabled::class,
'url_db' => UrlSetDb::class, 'url_db' => UrlSetDb::class,
'web_db' => SetWebDb::class, 'web_db' => SetWebDb::class,
'api_db' => SetDb::class,
'company_key_db' => SetDbByCompanyKey::class, 'company_key_db' => SetDbByCompanyKey::class,
'locale' => Locale::class, 'locale' => Locale::class,
'vendor_locale' => VendorLocale::class, 'vendor_locale' => VendorLocale::class,
@ -173,7 +171,6 @@ class Kernel extends HttpKernel
SessionDomains::class, SessionDomains::class,
Cors::class, Cors::class,
SetDomainNameDb::class, SetDomainNameDb::class,
SetDb::class,
SetWebDb::class, SetWebDb::class,
UrlSetDb::class, UrlSetDb::class,
ContactSetDb::class, ContactSetDb::class,

View File

@ -23,7 +23,7 @@ class BroadcastServiceProvider extends \Illuminate\Broadcasting\BroadcastService
*/ */
public function boot() public function boot()
{ {
Broadcast::routes(['middleware' => ['api_db', 'token_auth']]); Broadcast::routes(['middleware' => ['token_auth']]);
require base_path('routes/channels.php'); require base_path('routes/channels.php');
} }

32
composer.lock generated
View File

@ -4070,16 +4070,16 @@
}, },
{ {
"name": "horstoeko/zugferd", "name": "horstoeko/zugferd",
"version": "v1.0.112", "version": "v1.0.113",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/horstoeko/zugferd.git", "url": "https://github.com/horstoeko/zugferd.git",
"reference": "74e6f51aa4ec893ce88f37ba07206a1d39034393" "reference": "456bbfbb086e48dd28bef8b42cefbf1be6aa8af4"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/horstoeko/zugferd/zipball/74e6f51aa4ec893ce88f37ba07206a1d39034393", "url": "https://api.github.com/repos/horstoeko/zugferd/zipball/456bbfbb086e48dd28bef8b42cefbf1be6aa8af4",
"reference": "74e6f51aa4ec893ce88f37ba07206a1d39034393", "reference": "456bbfbb086e48dd28bef8b42cefbf1be6aa8af4",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -4138,9 +4138,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/horstoeko/zugferd/issues", "issues": "https://github.com/horstoeko/zugferd/issues",
"source": "https://github.com/horstoeko/zugferd/tree/v1.0.112" "source": "https://github.com/horstoeko/zugferd/tree/v1.0.113"
}, },
"time": "2025-03-30T08:55:45+00:00" "time": "2025-04-18T12:32:02+00:00"
}, },
{ {
"name": "horstoeko/zugferdvisualizer", "name": "horstoeko/zugferdvisualizer",
@ -6078,16 +6078,16 @@
}, },
{ {
"name": "league/commonmark", "name": "league/commonmark",
"version": "2.6.1", "version": "2.6.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/thephpleague/commonmark.git", "url": "https://github.com/thephpleague/commonmark.git",
"reference": "d990688c91cedfb69753ffc2512727ec646df2ad" "reference": "06c3b0bf2540338094575612f4a1778d0d2d5e94"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/thephpleague/commonmark/zipball/d990688c91cedfb69753ffc2512727ec646df2ad", "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/06c3b0bf2540338094575612f4a1778d0d2d5e94",
"reference": "d990688c91cedfb69753ffc2512727ec646df2ad", "reference": "06c3b0bf2540338094575612f4a1778d0d2d5e94",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -6181,7 +6181,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2024-12-29T14:10:59+00:00" "time": "2025-04-18T21:09:27+00:00"
}, },
{ {
"name": "league/config", "name": "league/config",
@ -18603,16 +18603,16 @@
}, },
{ {
"name": "phpstan/phpstan", "name": "phpstan/phpstan",
"version": "1.12.23", "version": "1.12.24",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpstan/phpstan.git", "url": "https://github.com/phpstan/phpstan.git",
"reference": "29201e7a743a6ab36f91394eab51889a82631428" "reference": "338b92068f58d9f8035b76aed6cf2b9e5624c025"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/29201e7a743a6ab36f91394eab51889a82631428", "url": "https://api.github.com/repos/phpstan/phpstan/zipball/338b92068f58d9f8035b76aed6cf2b9e5624c025",
"reference": "29201e7a743a6ab36f91394eab51889a82631428", "reference": "338b92068f58d9f8035b76aed6cf2b9e5624c025",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -18657,7 +18657,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2025-03-23T14:57:32+00:00" "time": "2025-04-16T13:01:53+00:00"
}, },
{ {
"name": "phpunit/php-code-coverage", "name": "phpunit/php-code-coverage",