Fix hash return for image attributes

This commit is contained in:
2020-03-02 14:12:56 -05:00
parent ebcfaadfde
commit a7e771557d
@@ -118,6 +118,9 @@ module Suppliers
file.binmode file.binmode
file.write decoded_attribute file.write decoded_attribute
authorized_params[attribute] = file authorized_params[attribute] = file
else
# Will be a <ActionController::Parameters {"small"=>"/system/product/:id/images/small.?1421223999"} permitted: true>
authorized_params.delete attribute
end end
end end
end end