daily pastebin goal
79%
SHARE
TWEET

Untitled

a guest Dec 7th, 2017 93 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   getSavedPlaylists: function() {
  2.     var spotifyApi = new SpotifyWebApi();
  3.     var response = spotifyApi.getUserPlaylists(Meteor.user().services.spotify.id, {});
  4.     if (checkTokenRefreshed(response, spotifyApi)) {
  5.       response = spotifyApi.getUserPlaylists(Meteor.user().services.spotify.id, {});
  6.     }
  7.     return response.data.body.items;
  8.   },
  9.  
  10.   getAltraProprieta: function() {
  11.   var test = getSavedPlaylists();
  12.   return test;
  13.   },
RAW Paste Data
Top