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>
  • Loading branch information
bhavanakarwade authored Feb 13, 2024
1 parent e08051c commit 5cae397
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 @@ -55,16 +55,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 5cae397

Please sign in to comment.