Skip to content

Commit

Permalink
fix: added logger (#508)
Browse files Browse the repository at this point in the history
Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>
Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>
  • Loading branch information
bhavanakarwade authored and KulkarniShashank committed Sep 11, 2024
1 parent 3b12f8f commit 0f18ee1
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions apps/connection/src/connection.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,12 @@ export class ConnectionService {
throw new NotFoundException(ResponseMessages.connection.error.agentEndPointNotFound);
}

let logoImageUrl;
if (organisation.logoUrl) {
logoImageUrl = organisation.logoUrl;
}

this.logger.log(`logoUrl:::, ${organisation.logoUrl}`);
const connectionPayload = {
multiUseInvitation: multiUseInvitation || true,
autoAcceptConnection: autoAcceptConnection || true,
alias: alias || undefined,
imageUrl: logoImageUrl ? logoImageUrl : imageUrl ? imageUrl : undefined,
imageUrl: organisation.logoUrl || imageUrl || undefined,
label: organisation.name,
goal: goal || undefined,
goalCode: goalCode || undefined,
Expand Down

0 comments on commit 0f18ee1

Please sign in to comment.