Skip to content

Commit

Permalink
fix tasklist
Browse files Browse the repository at this point in the history
  • Loading branch information
Danielzxccc committed May 1, 2024
1 parent 3d59693 commit f3948dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/Community/CommunityService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,7 @@ export async function listCommunityTasks({
'u.role',
])
.where('farmid', '=', farmid)
.where('u.farm_id', '=', farmid)

if (userid) {
query = query.where('ct.assigned_to', '=', userid)
Expand Down

0 comments on commit f3948dd

Please sign in to comment.