eror fixed
This commit is contained in:
@@ -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"}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user