Finalized contentful plugin

This commit is contained in:
olivermrbl
2020-07-02 16:04:58 +02:00
parent f9476da6d6
commit 92ae54696d
3 changed files with 105 additions and 67 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ class ProductService extends BaseService {
* @param {string} productId - the id of the product to get variants from.
* @return {Promise} an array of variants
*/
async retrieveVariants(productId) {
async retrieveVariants(productId) {)
const product = await this.retrieve(productId)
return this.productVariantService_.list({ _id: { $in: product.variants } })
}