Skip to content

Commit

Permalink
Formating to XML. Online debug, sry for the spam
Browse files Browse the repository at this point in the history
  • Loading branch information
damienalexandre committed Dec 27, 2010
1 parent d239bfd commit af9484a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion populartagbydays.js
Expand Up @@ -6,7 +6,7 @@
//.query('limit', inputs['limit']).accept('application/json').get().response;

var recenttracks = y.query("SELECT * FROM lastfm.recenttracks WHERE user='"+inputs['user']+"' AND api_key='"+inputs['api_key']+"'").results;
recenttracks = y.xmlToJson(recenttracks).results.lfm;
recenttracks = y.xmlToJson(recenttracks).lfm;
response.object = recenttracks;

//var recenttracks = {
Expand Down

0 comments on commit af9484a

Please sign in to comment.