mirror of
https://github.com/Pythagora-io/gpt-pilot.git
synced 2026-01-10 13:37:55 -05:00
Fix condition for template picking
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user