Skip to content

Commit 6c9abae

Browse files
committed
Improvement
1 parent 9dd9e99 commit 6c9abae

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

components/linkedin/actions/get-profile-picture-fields/get-profile-picture-fields.mjs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,11 @@ export default {
4242
},
4343
});
4444

45-
$.export("$summary", "Successfully retrieved profile picture fields");
45+
if (response.profilePicture) {
46+
$.export("$summary", "Successfully retrieved profile picture fields");
47+
} else {
48+
$.export("$summary", "Profile retrieved, but no profile picture found for this account");
49+
}
4650

4751
return response;
4852
},

0 commit comments

Comments
 (0)