Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
indatawetrust authored Oct 13, 2017
1 parent c01b192 commit d1a4749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ First, [get an API key](https://www.last.fm/api/account/create) from Last.fm.
const LastFM = require('last-fm')
const lastfm = new LastFM('API_KEY', { userAgent: 'MyApp/1.0.0 (http://example.com)' })

lastfm.trackSearch({ track: 'the greatest' }, (err, data) => {
lastfm.trackSearch({ q: 'the greatest' }, (err, data) => {
if (err) console.error(err)
else console.log(data)
})
Expand Down

0 comments on commit d1a4749

Please sign in to comment.