Skip to content

Commit

Permalink
added qr code in taskout schema
Browse files Browse the repository at this point in the history
  • Loading branch information
sujanadh committed Nov 6, 2023
1 parent d783089 commit 69888c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/app/tasks/tasks_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
)


@router.get("/task-list", response_model=List[tasks_schemas.Task])
@router.get("/task-list", response_model=List[tasks_schemas.TaskOut])
async def read_task_list(
project_id: int,
limit: int = 1000,
Expand Down
1 change: 1 addition & 0 deletions src/backend/app/tasks/tasks_schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ class Task(TaskBase):


class TaskOut(TaskBase):
qr_code_base64: str
task_status_str: TaskStatusOption
pass

Expand Down

0 comments on commit 69888c2

Please sign in to comment.