update require got to import got

This commit is contained in:
JM Faircloth 2024-03-08 10:11:09 -06:00
parent a727ce205a
commit cd38d43a7a
12 changed files with 34 additions and 21 deletions

View file

@ -1,4 +1,4 @@
const got = require('got');
import got from 'got';
const vaultUrl = `${process.env.VAULT_HOST}:${process.env.VAULT_PORT}`;
const vaultToken = `${process.env.VAULT_TOKEN}` === undefined ? `${process.env.VAULT_TOKEN}` : "testtoken";