Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 1ce2d7d

Browse files
Fix issue where upload would not post to bus api
1 parent 90b9fbd commit 1ce2d7d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

config/default.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ module.exports = {
1616
TOKEN_CACHE_TIME: process.env.TOKEN_CACHE_TIME,
1717
AUTH0_CLIENT_ID: process.env.AUTH0_CLIENT_ID,
1818
AUTH0_CLIENT_SECRET: process.env.AUTH0_CLIENT_SECRET,
19+
AUTH0_PROXY_SERVER_URL: process.env.AUTH0_PROXY_SERVER_URL,
1920

2021
BUSAPI_URL: process.env.BUSAPI_URL || 'https://api.topcoder-dev.com/v5',
2122

src/common/helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const errors = require('./errors')
1313
const logger = require('./logger')
1414
const busApi = require('tc-bus-api-wrapper')
1515
const busApiClient = busApi(_.pick(config, ['AUTH0_URL', 'AUTH0_AUDIENCE', 'TOKEN_CACHE_TIME', 'AUTH0_CLIENT_ID',
16-
'AUTH0_CLIENT_SECRET', 'BUSAPI_URL', 'KAFKA_ERROR_TOPIC']))
16+
'AUTH0_CLIENT_SECRET', 'BUSAPI_URL', 'KAFKA_ERROR_TOPIC', 'AUTH0_PROXY_SERVER_URL']))
1717

1818
// AWS DynamoDB instance
1919
let dbInstance

0 commit comments

Comments
 (0)