From 6899671857f556e1fdad31fb1f6bc5136f65ed70 Mon Sep 17 00:00:00 2001 From: Pradip-p Date: Wed, 9 Oct 2024 09:34:46 +0545 Subject: [PATCH] hotfix: Update project/id to project_id in S3 image processing logic --- src/backend/app/projects/image_processing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/app/projects/image_processing.py b/src/backend/app/projects/image_processing.py index ef500881..741ed571 100644 --- a/src/backend/app/projects/image_processing.py +++ b/src/backend/app/projects/image_processing.py @@ -158,7 +158,7 @@ async def process_images_from_s3(self, bucket_name, name=None, options=[]): # now update the task as completed in Db. await task_logic.update_task_state( self.db, - self.project.id, + self.project_id, self.task_id, self.user_id, "Task completed.",