runware.ai connection test funktioniert, drucken dialog implementiert
This commit is contained in:
@@ -35,4 +35,11 @@ class StyleController extends Controller
|
||||
|
||||
return response()->json(['interval' => $interval ? (int)$interval->value / 1000 : 5]);
|
||||
}
|
||||
|
||||
public function getMaxNumberOfCopies()
|
||||
{
|
||||
$maxCopies = Setting::where('key', 'max_number_of_copies')->first();
|
||||
|
||||
return response()->json(['max_copies' => $maxCopies ? (int)$maxCopies->value : 10]); // Default to 10 if not set
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user