Fix condition for template picking

This commit is contained in:
mijauexe
2025-04-14 20:21:04 +02:00
parent 99c7c38c7d
commit bc200112c5

View File

@@ -250,7 +250,7 @@ class Wizard(BaseAgent):
"""
Applies a template to the frontend.
"""
if options["auth_type"] == "api_key" or "none":
if options["auth_type"] == "api_key" or options["auth_type"] == "none":
template_name = "vite_react_swagger"
else:
template_name = "vite_react"