Skip to content

Commit

Permalink
Added keyword groups to API path
Browse files Browse the repository at this point in the history
  • Loading branch information
Salla Karppinen committed Jan 30, 2017
1 parent a0d5150 commit 35a40f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ var deleteEmailToken = module.exports.deleteEmailToken = function(restCtx, userI
* @param {Group[]} callback.response The user's most recently visited groups
*/
var getRecentlyVisitedGroups = module.exports.getRecentlyVisitedGroups = function(restCtx, userId, callback) {
var url = '/api/user/' + RestUtil.encodeURIComponent(userId) + '/recent';
var url = '/api/user/' + RestUtil.encodeURIComponent(userId) + '/recent/groups';
RestUtil.RestRequest(restCtx, url, 'GET', {}, callback);
};

Expand Down

0 comments on commit 35a40f7

Please sign in to comment.