From 9d365bfdfe32e07c43e7c94dbd018092b1b9eda2 Mon Sep 17 00:00:00 2001 From: Nathan Curtis Date: Mon, 15 Apr 2024 11:49:09 -0700 Subject: [PATCH] Fix lint --- .../V2/Exports/ExportAllMonitoredEntitiesController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Http/Controllers/V2/Exports/ExportAllMonitoredEntitiesController.php b/app/Http/Controllers/V2/Exports/ExportAllMonitoredEntitiesController.php index ded1eb6fa..3cfb9e4d0 100644 --- a/app/Http/Controllers/V2/Exports/ExportAllMonitoredEntitiesController.php +++ b/app/Http/Controllers/V2/Exports/ExportAllMonitoredEntitiesController.php @@ -41,8 +41,10 @@ public function __invoke(Request $request, string $entity, string $framework) private function getSlug(string $framework) { $frameworkModel = Framework::where('access_code', $framework)->firstOrFail(); + return $frameworkModel->slug; } + private function getForm(string $modelClass, string $framework) { return Form::where('model', $modelClass)