Add bulk_products and overridable to skip_authorization_check so these endpoints work with AMS

This commit is contained in:
luisramos0
2019-07-31 12:18:27 +01:00
parent 18974c68e1
commit 6c054e6078

View File

@@ -5,7 +5,7 @@ module Spree
class ProductsController < ::Api::BaseController
respond_to :json
skip_authorization_check only: [:show]
skip_authorization_check only: [:show, :bulk_products, :overridable]
def show
@product = find_product(params[:id])