NeerajCodz commited on
Commit
3232831
·
1 Parent(s): 480ddb9

fix: support plugins endpoint without trailing slash

Browse files
Files changed (1) hide show
  1. backend/app/api/routes/plugins.py +1 -0
backend/app/api/routes/plugins.py CHANGED
@@ -268,6 +268,7 @@ class PluginResponse(BaseModel):
268
  requires_key: bool
269
 
270
 
 
271
  @router.get("/")
272
  async def list_plugins(category: str | None = None) -> dict[str, Any]:
273
  """List all available plugins, optionally filtered by category."""
 
268
  requires_key: bool
269
 
270
 
271
+ @router.get("")
272
  @router.get("/")
273
  async def list_plugins(category: str | None = None) -> dict[str, Any]:
274
  """List all available plugins, optionally filtered by category."""