Skip to content

Commit

Permalink
list locked communities (#409)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joao Pedro da Silva authored Sep 16, 2022
1 parent c1acd7c commit f7c2bdd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/services/ubi/community/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ export class CommunityListService {
: config.defaultOffset
},
where: {
state: 0
state_not: 1
}`,
`id, ${orderBy}`
);
Expand Down
2 changes: 2 additions & 0 deletions packages/core/src/subgraph/queries/community.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ export const getCommunityState = async (
contributors: number;
managers: number;
baseInterval: number;
state: number;
}> => {
try {
const query = gql`
Expand All @@ -105,6 +106,7 @@ export const getCommunityState = async (
managers
baseInterval
estimatedFunds
state
}
}
`;
Expand Down

0 comments on commit f7c2bdd

Please sign in to comment.