Skip to content

Commit

Permalink
Merge pull request YotpoLtd#29 from YotpoLtd/add-organization-to-feat…
Browse files Browse the repository at this point in the history
…ure-owenr-type

add(support-organization):add-feature-owenr-type-organization
  • Loading branch information
danadavid authored Feb 14, 2018
2 parents 9a4d9a7 + 66c56ec commit 073df96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/yotpo/api/owner_feature.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ def get_owner_basic_path(owner_type)
'/users'
elsif owner_type == :account
'/apps'
elsif owner_type == :organization
'/organizations'
else
raise 'Wrong owner type!'
end
Expand Down

0 comments on commit 073df96

Please sign in to comment.