Skip to content

Commit

Permalink
Remove permalink from product permitted attributes and documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nandita2010 committed Apr 19, 2021
1 parent 4ab4c66 commit 25cb5e3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions api/openapi/solidus-api.oas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6289,8 +6289,6 @@ components:
type: string
available_on:
type: string
permalink:
type: string
meta_description:
type: string
meta_keywords:
Expand Down
2 changes: 1 addition & 1 deletion core/lib/spree/permitted_attributes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ module PermittedAttributes
@@product_properties_attributes = [:property_name, :value, :position]

@@product_attributes = [
:name, :description, :available_on, :discontinue_on, :permalink, :meta_description,
:name, :description, :available_on, :discontinue_on, :meta_description,
:meta_keywords, :price, :sku, :deleted_at,
:option_values_hash, :weight, :height, :width, :depth,
:shipping_category_id, :tax_category_id,
Expand Down

0 comments on commit 25cb5e3

Please sign in to comment.