MCPcopy
hub / github.com/parse-community/parse-server-example / postCloudCodeData

Function postCloudCodeData

public/assets/js/script.js:104–115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102};
103
104const postCloudCodeData = async () => {
105 try {
106 const result = await Parse.Cloud.run('hello');
107
108 closeStep('#step-3');
109 fillStepOutput('#step-3-output', JSON.stringify(result));
110 fillBtn('#step-3-btn', 'Tested');
111 showWorkingMessage();
112 } catch (error) {
113 fillStepError('#step-3-error', `There was a failure: ${error.message}`);
114 }
115};
116
117/**
118 * Store

Callers 1

getDataFunction · 0.85

Calls 5

closeStepFunction · 0.85
fillStepOutputFunction · 0.85
fillBtnFunction · 0.85
showWorkingMessageFunction · 0.85
fillStepErrorFunction · 0.85

Tested by

no test coverage detected