diff --git a/components/Claim/ClaimPage/ClaimButton/index.jsx b/components/Claim/ClaimPage/ClaimButton/index.jsx index 3b33e82d4..a0842995f 100644 --- a/components/Claim/ClaimPage/ClaimButton/index.jsx +++ b/components/Claim/ClaimPage/ClaimButton/index.jsx @@ -96,7 +96,7 @@ const ClaimButton = ({ if ((bounty.bountyType === '2') | (bounty.bountyType === '3')) { // TODO Re-add the actual code for PRs here IF we continue to use PRs for submissions // Unsure if an empty string will work here, using a placeholder for now - const prUrl = 'https://github.com/SporkDAOOfficial/ETHDenver-2023/pull/456'; + const submissionId = 'asdfasdfs'; const externalUserId = accountData.github; const closerAddress = account; const tier = targetTier; @@ -105,7 +105,7 @@ const ClaimButton = ({ bounty, externalUserId, closerAddress, - prUrl, + submissionId, tier ); resolve(result.transactionHash); diff --git a/services/ethers/OpenQClient.js b/services/ethers/OpenQClient.js index daa6d8445..bae44c461 100755 --- a/services/ethers/OpenQClient.js +++ b/services/ethers/OpenQClient.js @@ -551,13 +551,13 @@ class OpenQClient { }); }; - claimTieredPermissioned = async (library, bounty, externalUserId, closerAddress, prUrl, tier) => { + claimTieredPermissioned = async (library, bounty, externalUserId, closerAddress, submissionId, tier) => { const { bountyAddress } = bounty; return new Promise(async (resolve, reject) => { const abiCoder = new ethers.utils.AbiCoder(); const closerData = abiCoder.encode( ['address', 'string', 'address', 'string', 'uint256'], - [bountyAddress, externalUserId, closerAddress, prUrl, tier] + [bountyAddress, externalUserId, closerAddress, submissionId, tier] ); const signer = library.getSigner(); const contract = this.ClaimManager(signer);