mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Add bulk_products and overridable to skip_authorization_check so these endpoints work with AMS
This commit is contained in:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user