MCPcopy Create free account
hub / github.com/bugy/script-server / sendValueToServer

Function sendValueToServer

web-src/src/main-app/store/scriptSetup.js:122–125  ·  view source on GitHub ↗
({state, commit, dispatch}, {parameterName, value})

Source from the content-addressed store, hash-verified

120 },
121
122 sendValueToServer({state, commit, dispatch}, {parameterName, value}) {
123 const valueToSend = (parameterName in state.errors) ? null : value;
124 dispatch('scriptConfig/sendParameterValue', {parameterName, value: valueToSend}, {root: true});
125 }
126 },
127 mutations: {
128 SET_VALUES(state, values) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected