diff --git a/Implementations/API/backend/functions/boardroom/getMembers.ts b/Implementations/API/backend/functions/boardroom/getMembers.ts index abf2526..94c7158 100644 --- a/Implementations/API/backend/functions/boardroom/getMembers.ts +++ b/Implementations/API/backend/functions/boardroom/getMembers.ts @@ -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); } diff --git a/Implementations/API/backend/functions/config.ts b/Implementations/API/backend/functions/config.ts index 0bce3bc..776df82 100644 --- a/Implementations/API/backend/functions/config.ts +++ b/Implementations/API/backend/functions/config.ts @@ -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",