Open adityabhattad2021 opened 2 years ago
Here is the relevant code snippet from cloudFunctions.js
Moralis.Cloud.afterSave("ItemCanceled", async (request) => { const confirmed = request.object.get("confirmed") logger.info(`Marketplace | Object: ${request.object}`) if (confirmed) { const logger = Moralis.Cloud.getLogger() const ActiveItem = Moralis.Object.extend("ActiveItem") const query = new Moralis.Query(ActiveItem)
Here is the relevant code snippet from cloudFunctions.js