Skip to content

Commit 695d61e

Browse files
committed
Formatting
1 parent 7174cc4 commit 695d61e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

connect/service.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,9 @@ const getRoleMembers = (role) => (
130130
const getUsersById = (ids) => {
131131

132132
let query = ""
133-
if (ids.length>1) {
133+
if (ids.length > 1) {
134134
query = _.map(ids, (id) => 'userIds=' + id).join('&');
135-
} else if(ids.length==1) {
135+
} else if(ids.length == 1) {
136136
query = 'userId=' + ids[0];
137137
}
138138
return M2m.getMachineToken(config.AUTH0_CLIENT_ID, config.AUTH0_CLIENT_SECRET)
@@ -147,7 +147,7 @@ const getUsersById = (ids) => {
147147
.set('accept', 'application/json')
148148
.set('authorization', `Bearer ${token}`)
149149
.then((res) => {
150-
if (res.status!=200) {
150+
if (res.status != 200) {
151151
throw new Error(`Failed to get users by ids: ${ids}`);
152152
}
153153
const users = JSON.parse(_.get(res, 'text'));

0 commit comments

Comments
 (0)