Skip to content

Commit

Permalink
Merge pull request #108 from metagov/hotfix/gnosis_backend
Browse files Browse the repository at this point in the history
fix: backend Gnosis proposalsURI.
  • Loading branch information
thelastjosh authored Aug 9, 2023
2 parents 312c5b7 + 867798b commit 5b4e99c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Implementations/API/backend/functions/gnosis/getProposals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const handler: APIGatewayProxyHandlerV2 = async (event) => {

const eventId = event?.pathParameters?.id
if (!eventId) return { statusCode: 400 }

console.log({eventId})

const checksummedId = ethers.utils.getAddress(eventId)
Expand All @@ -40,8 +40,8 @@ export const handler: APIGatewayProxyHandlerV2 = async (event) => {
name: eventId,
}

const queryPath = path + '/safes/' + checksummedId + '/multisig-transactions/?executed=false'
const queryPath = path + '/safes/' + checksummedId + '/multisig-transactions/'

console.log({queryPath})

const res = (await apiRequest(queryPath, 'GET')) as any
Expand Down

0 comments on commit 5b4e99c

Please sign in to comment.