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

Function DisableCk

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

Source from the content-addressed store, hash-verified

2174};
2175
2176async function DisableCk(eid){
2177 const token = await getToken();
2178 const body = await api({
2179 method: 'put',
2180 url: 'api/envs/disable',
2181 params: { t: Date.now() },
2182 body: JSON.stringify([eid]),
2183 headers: {
2184 Accept: 'application/json',
2185 authorization: `Bearer ${token}`,
2186 'Content-Type': 'application/json;charset=UTF-8',
2187 },
2188 }).json();
2189 return body;
2190};
2191
2192async function EnableCk(eid){
2193 const token = await getToken();

Callers 2

sendNotifyFunction · 0.85
sendNotifyFunction · 0.85

Calls 2

nowMethod · 0.80
getTokenFunction · 0.70

Tested by

no test coverage detected