From 54acb45982e566cb320381846de24883af102c0e Mon Sep 17 00:00:00 2001 From: npiyush97 Date: Wed, 31 May 2023 19:26:21 +0530 Subject: [PATCH] fix #18035 Signed-off-by: npiyush97 --- .../src/providers/GitlabOrgDiscoveryEntityProvider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/catalog-backend-module-gitlab/src/providers/GitlabOrgDiscoveryEntityProvider.ts b/plugins/catalog-backend-module-gitlab/src/providers/GitlabOrgDiscoveryEntityProvider.ts index 1fe607afbb..59de3ac30b 100644 --- a/plugins/catalog-backend-module-gitlab/src/providers/GitlabOrgDiscoveryEntityProvider.ts +++ b/plugins/catalog-backend-module-gitlab/src/providers/GitlabOrgDiscoveryEntityProvider.ts @@ -320,7 +320,7 @@ export class GitlabOrgDiscoveryEntityProvider implements EntityProvider { spec: { profile: { displayName: user.name, - picture: user.avatar_url, + picture: user.avatar_url || undefined, }, memberOf: [], },