refactor(templates): update service template file handling to use dynamic file name from constants

This commit is contained in:
Andras Bacsai committed 2025-08-12 10:06:19 +02:00
1 parent 936a192236
commit 39f25573bf
7 files changed
+19 -15

No files matched your search

+1 -1
View File
@@ -105,7 +105,7 @@ class Init extends Command
$response = Http::retry(3, 1000)->get(config('constants.services.official'));
if ($response->successful()) {
$services = $response->json();
File::put(base_path('templates/service-templates.json'), json_encode($services));
File::put(base_path('templates/'.config('constants.services.file_name')), json_encode($services));
}
}