Skip to content
Snippets Groups Projects
Commit e8104c9e authored by Tim Repke's avatar Tim Repke
Browse files

fix owner filter

parent 4c334178
No related branches found
No related tags found
1 merge request!50Master
Pipeline #1579 failed
......@@ -40,6 +40,7 @@ async def get_all_projects(current_user: UserModel = Depends(get_current_active_
func.row_to_json(text('"user".*'))
).label('owners')) \
.join(User, ProjectPermissions.user_id == User.user_id) \
.where(ProjectPermissions.owner == True) \
.group_by(ProjectPermissions.project_id) \
.cte()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment