Fix 500 "No route found" when creating db host (#1841)

This commit is contained in:
M41den 2025-10-28 15:48:46 +03:00 committed by GitHub
parent 5e3c22ea5e
commit 0fec6adc3e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -77,7 +77,7 @@ class DatabaseHostController extends ApplicationApiController
return $this->fractal->item($databaseHost)
->transformWith($this->getTransformer(DatabaseHostTransformer::class))
->addMeta([
'resource' => route('api.application.databases.view', [
'resource' => route('api.application.databasehosts.view', [
'database_host' => $databaseHost->id,
]),
])