Skip to content

Commit aa76975

Browse files
authored
extra set of brackets throwing a validation error
when calling the svc func the service func's validation is throwing an error as there's only 2 params in the func signature. not sure why they're there. @dushyantb ?
1 parent 70a6664 commit aa76975

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controllers/GroupMembershipController.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ async function listGroupsMemberCount(req, res) {
8888
* @param res the response
8989
*/
9090
async function getMemberGroups(req, res) {
91-
const result = await service.getMemberGroups(req.authUser.isMachine ? 'M2M' : req.authUser, req.params.memberId, {})
91+
const result = await service.getMemberGroups(req.authUser.isMachine ? 'M2M' : req.authUser, req.params.memberId)
9292
helper.setResHeaders(req, res, result)
9393
res.send(result)
9494
}

0 commit comments

Comments
 (0)