Skip to content

Commit 469158e

Browse files
xinranxiaoXinran Xiao
authored andcommitted
bump api to 2.2 + add new album methods
1 parent 2e3326f commit 469158e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ Package.onUse(function(api) {
1919
api.addFiles('spotify-api.js', 'server');
2020
});
2121

22-
Npm.depends({ 'spotify-web-api-node': '2.1.0'});
22+
Npm.depends({ 'spotify-web-api-node': '2.2.0'});

spotify-api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ SpotifyWebApi = function(config) {
4040
'authorizationCodeGrant','refreshAccessToken','getMySavedTracks','containsMySavedTracks',
4141
'removeFromMySavedTracks','addToMySavedTracks','followUsers','followArtists','unfollowUsers','unfollowArtists',
4242
'isFollowingUsers','areFollowingPlaylist','isFollowingArtists', 'getFollowedArtists', 'getNewReleases','getFeaturedPlaylists',
43-
'getCategories','getCategory','getPlaylistsForCategory'];
43+
'getCategories','getCategory','getPlaylistsForCategory', 'removeFromMySavedAlbums', 'addToMySavedAlbums', 'getMySavedAlbums', 'containsMySavedAlbums'];
4444

4545
// Wrap all the functions to be able to be called synchronously on the server.
4646
_.each(SpotifyWebApi.whitelistedFunctionNames, function(functionName) {

0 commit comments

Comments
 (0)