diff --git a/backend/src/graphql/resolver/TransactionLinkResolver.ts b/backend/src/graphql/resolver/TransactionLinkResolver.ts index 16783a25a..193d539e5 100644 --- a/backend/src/graphql/resolver/TransactionLinkResolver.ts +++ b/backend/src/graphql/resolver/TransactionLinkResolver.ts @@ -675,9 +675,18 @@ export class TransactionLinkResolver { methodLogger.error(errmsg) throw new LogError(errmsg) } - if(recipientUser.emailContact?.email !== null){ + if (recipientUser.emailContact?.email !== null) { if (methodLogger.isDebugEnabled()) { - methodLogger.debug('Sending TransactionLinkRedeem Email to recipient=' + recipientUser.firstName + ' ' + recipientUser.lastName + 'sender=' + senderUser.firstName + ' ' + senderUser.lastName) + methodLogger.debug( + 'Sending TransactionLinkRedeem Email to recipient=' + + recipientUser.firstName + + ' ' + + recipientUser.lastName + + 'sender=' + + senderUser.firstName + + ' ' + + senderUser.lastName, + ) } try { await sendTransactionLinkRedeemedEmail({ @@ -698,7 +707,16 @@ export class TransactionLinkResolver { } } else { if (methodLogger.isDebugEnabled()) { - methodLogger.debug('Sender or Recipient are foreign users with no email contact, not sending Transaction Received Email: recipient=' + recipientUser.firstName + ' ' + recipientUser.lastName + 'sender=' + senderUser.firstName + ' ' + senderUser.lastName) + methodLogger.debug( + 'Sender or Recipient are foreign users with no email contact, not sending Transaction Received Email: recipient=' + + recipientUser.firstName + + ' ' + + recipientUser.lastName + + 'sender=' + + senderUser.firstName + + ' ' + + senderUser.lastName, + ) } } } catch (e) { diff --git a/core/src/graphql/logic/storeForeignUser.ts b/core/src/graphql/logic/storeForeignUser.ts index 90c7c7c7b..2fb07e23f 100644 --- a/core/src/graphql/logic/storeForeignUser.ts +++ b/core/src/graphql/logic/storeForeignUser.ts @@ -65,7 +65,7 @@ export async function storeForeignUser( } else if ( user.firstName !== committingResult.recipFirstName || user.lastName !== committingResult.recipLastName || - user.alias !== committingResult.recipAlias/* || + user.alias !== committingResult.recipAlias /* || (user.emailContact === null && committingResult.recipEmail !== null) || (user.emailContact !== null && user.emailContact?.email !== null && diff --git a/shared/src/jwt/payloadtypes/SendCoinsResponseJwtPayloadType.ts b/shared/src/jwt/payloadtypes/SendCoinsResponseJwtPayloadType.ts index a857cceae..fb08d6a97 100644 --- a/shared/src/jwt/payloadtypes/SendCoinsResponseJwtPayloadType.ts +++ b/shared/src/jwt/payloadtypes/SendCoinsResponseJwtPayloadType.ts @@ -9,7 +9,6 @@ export class SendCoinsResponseJwtPayloadType extends JwtPayloadType { recipLastName: string | null recipAlias: string | null - constructor( handshakeID: string, vote: boolean,