Skip to content

Commit 5adb278

Browse files
committed
Merge branch 'dev'
2 parents b4ebaab + c189cd5 commit 5adb278

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

connect/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module.exports = {
66
TC_API_V3_BASE_URL: process.env.TC_API_V3_BASE_URL || 'https://api.topcoder-dev.com/v3',
77
TC_API_V4_BASE_URL: process.env.TC_API_V4_BASE_URL || 'https://api.topcoder-dev.com/v4',
88
// eslint-disable-next-line max-len
9-
TC_ADMIN_TOKEN: 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlcyI6WyJUb3Bjb2RlciBVc2VyIiwiYWRtaW5pc3RyYXRvciJdLCJpc3MiOiJodHRwczovL2FwaS50b3Bjb2Rlci1kZXYuY29tIiwiaGFuZGxlIjoic3VzZXIxIiwiZXhwIjoxNTE5MTQxNjM5LCJ1c2VySWQiOiI0MDE1MzkzOCIsImlhdCI6MTUwOTYzNzYzOSwiZW1haWwiOiJtdHdvbWV5QGJlYWtzdGFyLmNvbSIsImp0aSI6IjIzZTE2YjA2LWM1NGItNDNkNS1iY2E2LTg0ZGJiN2JiNDA0NyJ9.YXJ0piKg_pILJKqntjMA78Z2X3f5BDGWQO3lb-1MVYw',
9+
TC_ADMIN_TOKEN: process.env.TC_ADMIN_TOKEN,
1010

1111
// Probably temporary variables for TopCoder role ids for 'Connect Manager', 'Connect Copilot' and 'administrator'
1212
// These are values for development backend. For production backend they may be different.

connect/connectNotificationServer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ const handler = (topic, message, callback) => {
214214
return [];
215215
}).then((users) => {
216216
_.map(allNotifications, (notification) => {
217-
notification.projectName = project.name;
217+
notification.contents.projectName = project.name;
218218
// if found a user then add user handle
219219
if (users.length) {
220220
notification.contents.userHandle = users[0].handle;

0 commit comments

Comments
 (0)