In the repo wasn’t updated (that was the last working version), can you please check now?
Can’t test since I have errors but changed:
const balQuery = new Moralis.Query("_EthAddress");
balQuery.equalTo("objectId", userAddress);
const balResult = await balQuery.first({useMasterKey: true});
results.push({
name: "Ethereum",
symbol: "ETH",
balance: balResult.get("EthBalance"),
decimals: 18
});
To
const balQuery = new Moralis.Query("EthAddress");
balQuery.equalTo("address", userAddress);
const balResult = await balQuery.first({useMasterKey: true});
results.push({
name: "Ethereum",
symbol: "ETH",
balance: balResult.get("balance"),
decimals: 18
});
Saved in the cloud functions section in the server, I don’t know when it’ll be updated in my project or do I have to do it manually?