We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a4e759 commit 00a5b3cCopy full SHA for 00a5b3c
packages/mgt/src/graph/graph.user.ts
@@ -51,7 +51,7 @@ export async function getUserWithPhoto(graph: IGraph, userId?: string): Promise<
51
if (userDetailsResponse.content) {
52
person = userDetailsResponse.content;
53
54
- person.personImage = photoResponse.content;
+ person.personImage = photoResponse && photoResponse.content;
55
}
56
57
return person;
0 commit comments