diff --git a/dist/index.js b/dist/index.js index 2021d95..dea5233 100644 --- a/dist/index.js +++ b/dist/index.js @@ -28258,7 +28258,9 @@ async function run() { : core.info('💚🔒 Skip TLS Validation disabled.'); const response = await axios .create({ httpsAgent }) - .post(`${opaServerUrl}/v1/data/${opaServerPackageName}`, { opaServerInput }, { headers }); + .post(`${opaServerUrl}/v1/data/${opaServerPackageName}`, opaServerInput, { + headers + }); if (response.status === 200) { const opaResponseObj = response.data; // core.info(`Response from OPA Server: ${JSON.stringify(opaResponseObj)}`) diff --git a/src/main.ts b/src/main.ts index 5b88e88..191c681 100644 --- a/src/main.ts +++ b/src/main.ts @@ -32,11 +32,9 @@ export async function run(): Promise { const response = await axios .create({ httpsAgent }) - .post( - `${opaServerUrl}/v1/data/${opaServerPackageName}`, - { opaServerInput }, - { headers } - ) + .post(`${opaServerUrl}/v1/data/${opaServerPackageName}`, opaServerInput, { + headers + }) if (response.status === 200) { const opaResponseObj = response.data as OpaResponse // core.info(`Response from OPA Server: ${JSON.stringify(opaResponseObj)}`)