From 1cf5ca0927e680706824bd33bf565373c6c60d58 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 2 Apr 2026 16:00:20 +0800 Subject: [PATCH] bugfix --- wwwroot/tasks/index.dspy | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/wwwroot/tasks/index.dspy b/wwwroot/tasks/index.dspy index 176def7..7f6bbb9 100644 --- a/wwwroot/tasks/index.dspy +++ b/wwwroot/tasks/index.dspy @@ -1,12 +1,8 @@ taskid = params_kw.taskid -userid = await get_user() -if userid is None: - return openai_403 - -s = await grab_task_status(request, taskid) +s = await get_asynctask_status(taskid) return { - 'status': 'ok', - 'data': { - 'resposne': s - } + 'status': 'ok', + 'data': { + 'resposne': s + } }