Skip to content

Commit

Permalink
Merge pull request #2 from Map-of-Crypto/fakeStoreAPI
Browse files Browse the repository at this point in the history
first commit to Fake Store API
  • Loading branch information
Andrej656 authored Jan 23, 2024
2 parents 9859068 + 750797d commit e6129b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hardhat-ts/contracts/MapOfCrypto.sol
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ contract MapOfCrypto is ChainlinkClient, ConfirmedOwner, KeeperCompatibleInterfa
function getDataMerchantAPI(uint256 productId) public returns (bytes32) {
Chainlink.Request memory req = buildChainlinkRequest(stringToBytes32(jobId), address(this), this.fullfillMerchantAPI.selector);

string memory productURL = string(abi.encodePacked("https://mapofcrypto-cdppi36oeq-uc.a.run.app/products/", toString(productId)));
string memory productURL = string(abi.encodePacked("https://fakestoreapi.com/products", toString(productId)));

req.add("productURL", productURL);

Expand Down

0 comments on commit e6129b6

Please sign in to comment.