Skip to content

Commit

Permalink
hotfix: reset Apecoin roles
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthh committed Oct 5, 2023
1 parent 81e833d commit 3f8ffde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/apecoin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ async function fetchDelegates(daoName: string, publicAddress?: string) {
WHERE "t1"."daoName" = $1
AND "t2"."period" = '1y'
AND "t1"."discordHandle" IS NOT NULL
AND "u"."twitterHandle" IS NOT NULL
`;

if (publicAddress) {
Expand Down Expand Up @@ -82,6 +81,7 @@ async function delegateHasPermission(delegate, dao) {
delegate.hasPermission = delegate.hasPermission || delegate.trustLevel >= 2;
}

delegate.hasPermission = false;
return delegate;
}

Expand Down

0 comments on commit 3f8ffde

Please sign in to comment.