Skip to content

Commit 71d4f93

Browse files
authored
Merge pull request #123 from topcoder-platform/fix/PLAT-2906
fix: lint
2 parents 8258bd0 + 5d4cbe0 commit 71d4f93

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

config/default.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@ module.exports = {
7070
RESOURCE_ROLE_UPDATE_TOPIC: process.env.RESOURCE_ROLE_UPDATE_TOPIC || 'challenge.action.resource.role.update',
7171
EMAIL_NOTIFICATIN_TOPIC: process.env.EMAIL_NOTIFICATIN_TOPIC || 'external.action.email',
7272
REGISTRATION_EMAIL: {
73-
EMAIL_FROM: process.env.EMAIL_FROM || "no-reply@topcoder.com",
74-
SENDGRID_TEMPLATE_ID: process.env.SENDGRID_TEMPLATE_ID || "d-b0593e8d64a84745905fb795523fde04",
75-
SUBMIT_URL: process.env.SUBMIT_URL || "https://www.topcoder.com/challenges/:id/submit/",
76-
REVIEW_APP_URL: process.env.REVIEW_APP_URL || "https://software.topcoder.com/review",
77-
HELP_URL: process.env.HELP_URL || "https://help.topcoder.com",
78-
SUPPORT_EMAIL: process.env.SUPPORT_EMAIL || "support@topcoder.com",
73+
EMAIL_FROM: process.env.EMAIL_FROM || 'no-reply@topcoder.com',
74+
SENDGRID_TEMPLATE_ID: process.env.SENDGRID_TEMPLATE_ID || '',
75+
SUBMIT_URL: process.env.SUBMIT_URL || 'https://www.topcoder.com/challenges/:id/submit/',
76+
REVIEW_APP_URL: process.env.REVIEW_APP_URL || 'https://software.topcoder.com/review',
77+
HELP_URL: process.env.HELP_URL || 'https://help.topcoder.com',
78+
SUPPORT_EMAIL: process.env.SUPPORT_EMAIL || 'support@topcoder.com'
7979
},
8080

8181
AUTOMATED_TESTING_NAME_PREFIX: process.env.AUTOMATED_TESTING_NAME_PREFIX || 'POSTMANE2E-'

src/services/ResourceService.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,14 +367,14 @@ async function createResource (currentUser, resource) {
367367
handle,
368368
challengeName: challenge.name,
369369
forum: _.get(challenge, 'discussions[0].url'),
370-
submissionEndTime: _.get(_.find(challenge.phases, phase => phase.name === "Submission"), 'scheduledEndDate'),
370+
submissionEndTime: _.get(_.find(challenge.phases, phase => phase.name === 'Submission'), 'scheduledEndDate'),
371371
submitUrl: _.replace(config.REGISTRATION_EMAIL.SUBMIT_URL, ':id', challengeId),
372372
reviewAppUrl: config.REGISTRATION_EMAIL.REVIEW_APP_URL,
373373
helpUrl: config.REGISTRATION_EMAIL.HELP_URL,
374374
support: config.REGISTRATION_EMAIL.SUPPORT_EMAIL
375375
},
376376
sendgrid_template_id: config.REGISTRATION_EMAIL.SENDGRID_TEMPLATE_ID,
377-
version: "v3"
377+
version: 'v3'
378378
})
379379
}
380380

0 commit comments

Comments
 (0)