add user with tasks and endpoint
This commit is contained in:
@@ -26,7 +26,7 @@ class UsersRepo(BaseRepo):
|
||||
.where(self.model.id == user_id)
|
||||
.options(
|
||||
selectinload(self.model.tasks).load_only(
|
||||
TasksORM.id, TasksORM.title, TasksORM.due_date
|
||||
TasksORM.id, TasksORM.title, TasksORM.due_date, TasksORM.priority
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user