eror fixed

This commit is contained in:
2025-06-09 22:48:15 +05:30
parent 986e64cc2c
commit c9a203846c

View File

@@ -28,7 +28,7 @@ async def start_workflow(request: Request):
@app.post("/fetch-pdf") @app.post("/fetch-pdf")
async def fetch_pdf(): async def fetch_pdf():
try: try:
bot = AutomationMassHealth().get_last_instance() bot = AutomationMassHealth.get_last_instance()
if not bot: if not bot:
return {"status": "error", "message": "No running automation session"} return {"status": "error", "message": "No running automation session"}