Merge pull request #3363 from SDA-SE/feat/azuread-nits

Fix some minor things from my previous PR
This commit is contained in:
Oliver Sand
2020-11-20 16:38:54 +01:00
committed by GitHub
4 changed files with 8 additions and 4 deletions
@@ -41,7 +41,6 @@ describe('MicrosoftGraphClient', () => {
afterEach(() => {
jest.resetAllMocks();
worker.resetHandlers();
});
it('should perform raw request', async () => {
@@ -129,7 +129,7 @@ export class MicrosoftGraphClient {
const photos = result.value as MicrosoftGraph.ProfilePhoto[];
let selectedPhoto: MicrosoftGraph.ProfilePhoto | undefined = undefined;
// Find the biggest picture that is small than the max size
// Find the biggest picture that is smaller than the max size
for (const p of photos) {
if (
!selectedPhoto ||
@@ -17,3 +17,8 @@ export { MicrosoftGraphClient } from './client';
export type { MicrosoftGraphProviderConfig } from './config';
export { readMicrosoftGraphConfig } from './config';
export { readMicrosoftGraphOrg } from './read';
export {
MICROSOFT_GRAPH_GROUP_ID_ANNOTATION,
MICROSOFT_GRAPH_TENANT_ID_ANNOTATION,
MICROSOFT_GRAPH_USER_ID_ANNOTATION,
} from './constants';