Permalink
Browse files

Formating to XML. Online debug, sry for the spam

  • Loading branch information...
1 parent af9484a commit e6cba41cb6ad8662950b2a9952c821ec8427854c @damienalexandre committed Dec 27, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 populartagbydays.js
View
@@ -6,8 +6,8 @@
//.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).lfm;
-response.object = recenttracks;
+recenttracks = y.xmlToJson(recenttracks);
+response.object = recenttracks.lfm;
//var recenttracks = {
// "results": {

0 comments on commit e6cba41

Please sign in to comment.