Skip to content

Commit

Permalink
fix issue with active proposal
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler17 committed May 1, 2024
1 parent 2fc698a commit 17c322a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/executive/api/fetchExecutives.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export async function getGithubExecutives(network: SupportedNetworks): Promise<C
const path = `https://raw.githubusercontent.com/${githubRepo.owner}/${
githubRepo.repo
}/master/${pathParts.join('/')}/${encodeURIComponent(last)}`;
return parseExecutive(file.object.text, proposalIndex, path, network);
return parseExecutive(file.object.text, proposalIndex, path, SupportedNetworks.MAINNET); //always use mainnet proposal index for now
} catch (e) {
logger.error(`getGithubExecutives: network ${network}`, e);
// Catch error and return null if failed fetching one proposal
Expand Down

0 comments on commit 17c322a

Please sign in to comment.