mirror of
https://github.com/IT4Change/gradido.git
synced 2026-03-01 12:44:43 +00:00
linting
This commit is contained in:
parent
bf227200c0
commit
1d7d93aee6
@ -675,9 +675,18 @@ export class TransactionLinkResolver {
|
|||||||
methodLogger.error(errmsg)
|
methodLogger.error(errmsg)
|
||||||
throw new LogError(errmsg)
|
throw new LogError(errmsg)
|
||||||
}
|
}
|
||||||
if(recipientUser.emailContact?.email !== null){
|
if (recipientUser.emailContact?.email !== null) {
|
||||||
if (methodLogger.isDebugEnabled()) {
|
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 {
|
try {
|
||||||
await sendTransactionLinkRedeemedEmail({
|
await sendTransactionLinkRedeemedEmail({
|
||||||
@ -698,7 +707,16 @@ export class TransactionLinkResolver {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (methodLogger.isDebugEnabled()) {
|
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) {
|
} catch (e) {
|
||||||
|
|||||||
@ -65,7 +65,7 @@ export async function storeForeignUser(
|
|||||||
} else if (
|
} else if (
|
||||||
user.firstName !== committingResult.recipFirstName ||
|
user.firstName !== committingResult.recipFirstName ||
|
||||||
user.lastName !== committingResult.recipLastName ||
|
user.lastName !== committingResult.recipLastName ||
|
||||||
user.alias !== committingResult.recipAlias/* ||
|
user.alias !== committingResult.recipAlias /* ||
|
||||||
(user.emailContact === null && committingResult.recipEmail !== null) ||
|
(user.emailContact === null && committingResult.recipEmail !== null) ||
|
||||||
(user.emailContact !== null &&
|
(user.emailContact !== null &&
|
||||||
user.emailContact?.email !== null &&
|
user.emailContact?.email !== null &&
|
||||||
|
|||||||
@ -9,7 +9,6 @@ export class SendCoinsResponseJwtPayloadType extends JwtPayloadType {
|
|||||||
recipLastName: string | null
|
recipLastName: string | null
|
||||||
recipAlias: string | null
|
recipAlias: string | null
|
||||||
|
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
handshakeID: string,
|
handshakeID: string,
|
||||||
vote: boolean,
|
vote: boolean,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user