MCPcopy Create free account
hub / github.com/6dylan6/jdm / getToken

Function getToken

function/sendNotify.js:2088–2091  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2086});
2087
2088async function getToken() {
2089 const authConfig = JSON.parse(fs.readFileSync(authFile));
2090 return authConfig.token;
2091}
2092
2093async function getEnvs(){
2094 const token = await getToken();

Callers 7

getEnvsFunction · 0.70
addEnvFunction · 0.70
updateEnvFunction · 0.70
updateEnv11Function · 0.70
DisableCkFunction · 0.70
EnableCkFunction · 0.70
delEnvFunction · 0.70

Calls 1

readFileSyncMethod · 0.80

Tested by

no test coverage detected