Skip to content

Commit

Permalink
switch create reviews endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
nickuya committed Jun 20, 2019
1 parent 1915f90 commit 3bba4d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/yotpo/api/review.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def create_review(params)
reviewer_type: params[:reviewer_type]
}
request.delete_if { |element, value| value.nil? }
post('/reviews/dynamic_create', request)
post('/v1/widget/reviews', request)
end

# Gets a specific review in Yotpo
Expand Down
2 changes: 1 addition & 1 deletion lib/yotpo/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Yotpo
VERSION = '1.0.6'
VERSION = '1.1.0'
end

0 comments on commit 3bba4d7

Please sign in to comment.