Moralis.Web3.enable() is not available on Cloud functions.
Did you try this: https://docs.moralis.io/moralis-server/cloud-code/cloud-functions#web3
// get a web3 instance for a specific chain
const web3 = Moralis.web3ByChain("0x1"); // mainnet
1 Like
thanks, itβs working.