Skip to content

Commit 51c6f5b

Browse files
committed
small nit
1 parent fd63e89 commit 51c6f5b

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/Auth.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -276,12 +276,7 @@ Auth.prototype.getRolesByIds = async function(ins) {
276276
return role;
277277
})
278278
)
279-
.each(
280-
result => {
281-
results.push(result.toJSON());
282-
},
283-
{ useMasterKey: true }
284-
);
279+
.each(result => results.push(result.toJSON()), { useMasterKey: true });
285280
} else {
286281
const roles = ins.map(id => {
287282
return {

0 commit comments

Comments
 (0)