MCPcopy Create free account
hub / github.com/RootbeerComputer/backend-GPT / runCommand

Function runCommand

frontend/src/APIHelper.js:23–26  ·  view source on GitHub ↗
(command)

Source from the content-addressed store, hash-verified

21}
22
23async function runCommand(command) {
24 const data = await (await axios.get(`${API_URL}/${command})`)).data;
25 return data.message;
26}
27
28async function getAllTodos() {
29 const res = await axios.get(`${API_URL}/get_all()`);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected