ciyidogan commited on
Commit
71b5b44
·
verified ·
1 Parent(s): 9fcb3f8

Update admin_routes.py

Browse files
Files changed (1) hide show
  1. admin_routes.py +1 -1
admin_routes.py CHANGED
@@ -435,7 +435,7 @@ async def update_environment(
435
  # ===================== Project Endpoints =====================
436
  @router.get("/projects/names")
437
  @handle_exceptions
438
- def list_enabled_projects():
439
  """Get list of enabled project names for chat"""
440
  cfg = ConfigProvider.get()
441
  return [p.name for p in cfg.projects if p.enabled and not getattr(p, 'deleted', False)]
 
435
  # ===================== Project Endpoints =====================
436
  @router.get("/projects/names")
437
  @handle_exceptions
438
+ async def list_enabled_projects():
439
  """Get list of enabled project names for chat"""
440
  cfg = ConfigProvider.get()
441
  return [p.name for p in cfg.projects if p.enabled and not getattr(p, 'deleted', False)]