Skip to content

Commit b593395

Browse files
authored
Merge pull request #64 from topcoder-platform/fix-mail-link
Fix mail link for payout setup notification
2 parents 48a6b7d + 4a82736 commit b593395

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/api/winnings/winnings.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ export class WinningsService {
7070
data: {
7171
user_name: member.firstName || member.handle || member.lastName,
7272
amount_won: amount,
73+
wallet_link: `${ENV_CONFIG.TOPCODER_WALLET_URL}#payout`,
7374
},
7475
},
7576
);

src/config/config.env.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,7 @@ export class ConfigEnv {
8787
@IsString()
8888
SENDGRID_TEMPLATE_ID_PAYMENT_SETUP_NOTIFICATION =
8989
'd-919e01f1314e44439bc90971b55f7db7';
90+
91+
@IsString()
92+
TOPCODER_WALLET_URL = 'https://wallet.topcoder.com';
9093
}

0 commit comments

Comments
 (0)