From 20afe5f3c586ab408bd2a5e5da77434bc750d47a Mon Sep 17 00:00:00 2001 From: n-kakuko <168174573+n-kakuko@users.noreply.github.com> Date: Wed, 9 Oct 2024 10:27:00 +0900 Subject: [PATCH] =?UTF-8?q?XXX=5FFETCHED=20=E3=81=AE=E7=8A=B6=E6=85=8B?= =?UTF-8?q?=E3=82=92=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/oqtopus_cloud/provider/routers/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/oqtopus_cloud/provider/routers/tasks.py b/backend/oqtopus_cloud/provider/routers/tasks.py index 6ac9c7e..20545ea 100644 --- a/backend/oqtopus_cloud/provider/routers/tasks.py +++ b/backend/oqtopus_cloud/provider/routers/tasks.py @@ -124,7 +124,7 @@ def update_task( try: task = ( db.query(Task) - .filter(Task.id == id, Task.status == "QUEUED_FETCHED") + .filter(Task.id == id) .first() ) if task is None: