Skip to content

Commit

Permalink
fix: add resource type filter
Browse files Browse the repository at this point in the history
  • Loading branch information
rahmatrhd committed Sep 1, 2022
1 parent 56eee43 commit b2825ac
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ FROM
LEFT JOIN "resources" ON a."resource_id" = "resources"."id"
LEFT JOIN "provider_roles" ON "resources"."provider_type" = "provider_roles"."type"
AND "resources"."provider_urn" = "provider_roles"."urn"
AND "resources"."type" = "provider_roles"."resource_type"
AND a."role" = "provider_roles"."role"
WHERE
"appeals"."id" = a."id";
Expand Down

0 comments on commit b2825ac

Please sign in to comment.