MCPcopy Create free account
hub / github.com/FlashpointProject/launcher / getLanguageInfo

Function getLanguageInfo

updateLangs.mjs:24–27  ·  view source on GitHub ↗
(lang)

Source from the content-addressed store, hash-verified

22}
23
24async function getLanguageInfo(lang) {
25 const res = await axios.get(`${baseUrl}/languages/${lang}`, { headers });
26 return res.data.data;
27}
28
29async function getLanguageProgress(lang) {
30 const res = await axios.get(`${baseUrl}/projects/${projectId}/languages/${lang}/progress`, { headers });

Callers 1

updateLangs.mjsFile · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected