Skip to content

Commit e89845d

Browse files
committed
FLEX-698 add photo.Id to the put route
1 parent 7fd3132 commit e89845d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/spark_api/models/photo.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def rollback(version)
6161

6262
def rotate(direction)
6363
payload = { 'Photos' => [ {'Rotate' => direction }] }
64-
connection.put "#{self.update_path}", payload
64+
connection.put "#{self.update_path}/#{self.Id}", payload
6565
end
6666

6767
def exists?

0 commit comments

Comments
 (0)