Skip to content

Commit c3e98ef

Browse files
committed
chore: add logs
Signed-off-by: Rakib Ansary <rakibansary@topcoder.com>
1 parent 1a79c4c commit c3e98ef

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/services/ResourceService.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,8 +392,10 @@ async function createResource (currentUser, resource) {
392392
if (_.isUndefined(forumUrl)) {
393393
templateId = config.REGISTRATION_EMAIL.SENDGRID_TEMPLATE_ID_NO_FORUM
394394
}
395-
395+
console.log('challenge template id', timelineTemplateId)
396+
console.log('config template id', config.get('TOPCROWD_CHALLENGE_TEMPLATE_ID'))
396397
if (config.get('TOPCROWD_CHALLENGE_TEMPLATE_ID') !== timelineTemplateId) {
398+
console.log('sending email')
397399
await helper.postEvent(config.EMAIL_NOTIFICATIN_TOPIC, {
398400
from: config.REGISTRATION_EMAIL.EMAIL_FROM,
399401
replyTo: config.REGISTRATION_EMAIL.EMAIL_FROM,

0 commit comments

Comments
 (0)