Skip to content

Commit

Permalink
Merge pull request #13 from pjirsa/push-scenario
Browse files Browse the repository at this point in the history
add debug logging
  • Loading branch information
pjirsa authored Feb 3, 2021
2 parents 2166ca0 + 86dc458 commit aecc8a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ const fs = require('fs');
try {
const tenantName = core.getInput('tenant-name');
const jwtSecret = core.getInput('api-secret');
const filePath = core.getInput('template-file');

const BASE_URL = "https://us.healthbot.microsoft.com/";
const jwtToken = jwt.sign({
tenantName: tenantName,
iat: Math.floor(Date.now() / 1000)
}, jwtSecret);

console.log(filePath);
const body = fs.readFileSync(core.getInput('template-file'));
console.log(body);

Expand Down

0 comments on commit aecc8a3

Please sign in to comment.