Skip to content

Commit 6d7a2b4

Browse files
committed
fix code style
1 parent e0f6772 commit 6d7a2b4

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/providers/microsoft.js

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
export default (options) => {
2-
const tenant = options.tenantId ? options.tenantId : 'common';
2+
const tenant = options.tenantId ? options.tenantId : 'common'
33

44
return {
55
id: 'microsoft',
66
name: 'Microsoft',
77
type: 'oauth',
88
version: '2.0',
99
params: {
10-
grant_type: 'authorization_code',
10+
grant_type: 'authorization_code'
1111
},
1212
accessTokenUrl: `https://login.microsoftonline.com/${tenant}/oauth2/v2.0/token`,
1313
authorizationUrl: `https://login.microsoftonline.com/${tenant}/oauth2/v2.0/authorize?response_type=code&response_mode=query`,
@@ -16,9 +16,9 @@ export default (options) => {
1616
return {
1717
id: profile.id,
1818
name: profile.displayName,
19-
email: profile.userPrincipalName,
20-
};
19+
email: profile.userPrincipalName
20+
}
2121
},
22-
...options,
23-
};
24-
};
22+
...options
23+
}
24+
}

0 commit comments

Comments
 (0)