MCPcopy
hub / github.com/stephengpope/thepopebot / getToken

Function getToken

lib/github-api.js:17–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15}
16
17function getToken() {
18 return getConfig('GH_TOKEN');
19}
20
21async function ghFetch(path, options = {}) {
22 const token = getToken();

Callers 2

ghFetchFunction · 0.85
useVoiceInputFunction · 0.85

Calls 1

getConfigFunction · 0.90

Tested by

no test coverage detected