We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5378d5 commit 265e978Copy full SHA for 265e978
src/common/helper.js
@@ -822,16 +822,14 @@ function ensureNoDuplicateOrNullElements (arr, name) {
822
* Get Bus API Client
823
* @return {Object} Bus API Client Instance
824
*/
825
-async function getBusApiClient () {
826
- // const span = await logger.startSpan('helper.getBusApiClient')
+function getBusApiClient () {
827
// if there is no bus API client instance, then create a new instance
828
if (!busApiClient) {
829
busApiClient = busApi(_.pick(config,
830
['AUTH0_URL', 'AUTH0_AUDIENCE', 'TOKEN_CACHE_TIME',
831
'AUTH0_CLIENT_ID', 'AUTH0_CLIENT_SECRET', 'BUSAPI_URL',
832
'KAFKA_ERROR_TOPIC', 'AUTH0_PROXY_SERVER_URL']))
833
}
834
- // await logger.endSpan(span)
835
return busApiClient
836
837
0 commit comments