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

Function EnableCk

function/sendNotify.js:2192–2206  ·  view source on GitHub ↗
(eid)

Source from the content-addressed store, hash-verified

2190};
2191
2192async function EnableCk(eid){
2193 const token = await getToken();
2194 const body = await api({
2195 method: 'put',
2196 url: 'api/envs/enable',
2197 params: { t: Date.now() },
2198 body: JSON.stringify([eid]),
2199 headers: {
2200 Accept: 'application/json',
2201 authorization: `Bearer ${token}`,
2202 'Content-Type': 'application/json;charset=UTF-8',
2203 },
2204 }).json();
2205 return body;
2206};
2207
2208async function getstatus(eid){
2209 const envs = await getEnvs();

Callers

nothing calls this directly

Calls 2

nowMethod · 0.80
getTokenFunction · 0.70

Tested by

no test coverage detected