Permalink
Browse files

modified Client.Users.user_recent_media to return `response` instead …

…of `response["data"]`
  • Loading branch information...
1 parent f8af597 commit d4672cb46d598cf9559da11331dd0c5aea90547b @jasonm23 committed Mar 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/instagram/client/users.rb
@@ -160,7 +160,7 @@ def user_recent_media(*args)
options = args.last.is_a?(Hash) ? args.pop : {}
id = args.first || "self"
response = get("users/#{id}/media/recent", options)
- response["data"]
+ response
end
# Returns a list of media items liked by the current user

0 comments on commit d4672cb

Please sign in to comment.