per-campaign settings, default campaign folders, custom prompt fix
All checks were successful
Build and Push / build (push) Successful in 12m10s
All checks were successful
Build and Push / build (push) Successful in 12m10s
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from fastapi import APIRouter
|
||||
from fastapi import APIRouter, Query
|
||||
|
||||
from ..diagnostics import run_diagnostics
|
||||
|
||||
@@ -6,6 +6,6 @@ router = APIRouter(prefix="/api/diagnostics", tags=["diagnostics"])
|
||||
|
||||
|
||||
@router.get("")
|
||||
def get_diagnostics():
|
||||
checks = run_diagnostics()
|
||||
def get_diagnostics(campaign_id: str = Query("default")):
|
||||
checks = run_diagnostics(campaign_id)
|
||||
return {"ok": all(c["ok"] for c in checks), "checks": checks}
|
||||
|
||||
Reference in New Issue
Block a user