Skip to content

Commit

Permalink
Merge pull request #149 from metagov/feat/boardroom
Browse files Browse the repository at this point in the history
feat: update boardroom key.
  • Loading branch information
crazyyuan authored Sep 10, 2023
2 parents 0e5061b + 4a1c283 commit ae86b0b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,12 @@ export const handler: APIGatewayProxyHandlerV2 = async (event) => {
};

let queryPath =
path + "/" + name + "/voters" + "?limit=50&key=" + BoardroomKey;
path +
"/" +
name +
"/voters" +
"?limit=50&key=" +
process.env.BOARDROOM_KEY;
if (cursor) {
queryPath += "&cursor=" + decodeURIComponent(cursor);
}
Expand Down
2 changes: 1 addition & 1 deletion Implementations/API/backend/functions/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const boardroomApiConfig: { [key: string]: any } = {
"10": "https://api.boardroom.info/v1/protocols",
};

export const BoardroomKey = "c909030d97aaa3f635a09eb4a3df58fc";
export const BoardroomKey = "8f123cfd353883b4f1a16db3110a69d7";

export const delegationsSubgraphs: { [key: string]: string } = {
"1": "https://subgrapher.snapshot.org/gateway.thegraph.com/api/0f15b42bdeff7a063a4e1757d7e2f99e/deployments/id/QmXZiV6S13ha6QXq4dmaM3TB4CHcDxBMvGexSNu9Kc28EH",
Expand Down

0 comments on commit ae86b0b

Please sign in to comment.