Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit db05aca

Browse files
authoredOct 13, 2017
Merge branch 'master' into dev
2 parents 6fef896 + 5bd7bc1 commit db05aca

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎initializers/v3client.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@ function getGroupMembers(connection, groupId, callback) {
181181
});
182182
}
183183

184-
185184
/**
186185
* Get groups that the current user can access.
187186
*
@@ -247,14 +246,13 @@ function getMemberGroups(connection, callback) {
247246
});
248247
}
249248

250-
251-
252249
exports.v3client = function (api, next) {
253250
api.v3client = {
254251
/**
255252
* Check if the user belongs to the group
256253
*
257254
* @param {Object} connection - the connection object provided by ActionHero
255+
* @param {Number} userId - the user ID
258256
* @param {Number} groupId - the group ID
259257
* @param {Function<err, isIn>} callback - the callback. The second parameter
260258
* is boolean which is true if the user has group id in challenge groups.

0 commit comments

Comments
 (0)
This repository has been archived.