remove: console.log

This commit is contained in:
zakariaelas
2021-09-09 17:58:11 +01:00
parent c56f37415d
commit 425c8a5e5d
2 changed files with 0 additions and 3 deletions

View File

@@ -9,7 +9,6 @@ export default async (req, res) => {
const { value, error } = schema.validate(req.body)
if (error) {
console.log({ error })
throw new MedusaError(MedusaError.Types.INVALID_DATA, error.details)
}

View File

@@ -61,9 +61,7 @@ class MeilisearchSubscriber {
}
handleProductVariantChange = async (data) => {
console.log({ change: data })
const product = await this.retrieveProduct_(data.product_id)
console.log(product.variants)
await this.meilisearchService_.addDocuments([product])
}
}