It’s pretty long to post it all. To be honest, aside from the request.user.get(“accounts”) not being passed to the backend Parse server by default (like it does with Moralis server), I think its the code related to reading from the MongoDb server.
See the backend cloud function code related to Mongo below:
const collection = Parse.Object.extend("Collections");
const query = new Parse.Query(collection);
query.equalTo(
"contractAddress",
requestContract.contractAddress
);
const collectionResult = await query.first({
useMasterKey: true,
});
if (collectionResult) {
}