Skip to content

Commit

Permalink
adding isAdmin check for Membership
Browse files Browse the repository at this point in the history
  • Loading branch information
codeho committed Aug 8, 2023
1 parent c5d86e7 commit 833eab9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ BEGIN
FROM
"Membership"
WHERE
"memberAddress" = address);
"memberAddress" = address
AND "isAdmin" = TRUE);
END
$$
-- migrate:down

0 comments on commit 833eab9

Please sign in to comment.