Permalink
Browse files

artist_search needs only one parameter, no extra querying

  • Loading branch information...
johnu committed Mar 22, 2012
1 parent d477b24 commit f18fddbedb127d0441a73de266e8dd93316c006f
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/songkickr/remote.rb
View
@@ -82,7 +82,7 @@ def gigography(artist_id, query= {})
# ==== Query Parameters
# * +artist_name+ - Name of an artist. <em>Ex. 'Lady Gaga', 'Slayer', 'Atmosphere'</em>
def artist_search(query={})
- result = self.class.get("/search/artists.json", :query => query)
+ result = self.class.get("/search/artists.json?query=#{query[:artist_name]}")
Songkickr::ArtistResult.new result
end

0 comments on commit f18fddb

Please sign in to comment.