Skip to content
This repository has been archived by the owner on Feb 23, 2020. It is now read-only.

Update update_product_handler.rb #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/spree/hub/handler/update_product_handler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def process
set_up_shipping_category

unless master = Variant.find_by(sku: params[:sku], is_master: true)
response("Could not find product wih sku #{paramas[:sku]}", 500) and return
response("Could not find product wih sku #{params[:sku]}", 500) and return
end

@product = Core::Importer::Product.new(master.product, params).update
Expand Down