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 0dbe5cc commit 7a23414Copy full SHA for 7a23414
src/events/projects/index.js
@@ -22,10 +22,7 @@ const eClient = util.getElasticSearchClient();
22
* @return {Object} the job created
23
*/
24
const createTaasJob = async (data) => {
25
- // TODO uncomment when TaaS API supports M2M tokens
26
- // see https://github.com/topcoder-platform/taas-apis/issues/40
27
- // const token = await util.getM2MToken();
28
- const token = process.env.TAAS_API_TOKEN;
+ const token = await util.getM2MToken();
29
const headers = {
30
'Content-Type': 'application/json',
31
Authorization: `Bearer ${token}`,
0 commit comments