MCPcopy Index your code
hub / github.com/TaskingAI/TaskingAI / fetchActionData

Function fetchActionData

frontend/src/Redux/actions.ts:210–222  ·  view source on GitHub ↗
(limit: number)

Source from the content-addressed store, hash-verified

208 };
209};
210export const fetchActionData = (limit: number) => {
211 return (dispatch: any) => {
212 const project_base_url = 'api/v1'
213 dispatch(fetchActionRequest());
214 request.get(`${project_base_url}/actions?limit=${limit}`)
215 .then(response => {
216 dispatch(fetchActionSuccess(response));
217 })
218 .catch(error => {
219 dispatch(fetchActionFailure(error.message));
220 });
221 };
222};

Callers 3

handleRequestFunction · 0.90
onDeleteConfirmFunction · 0.90
ProjectHomeFunction · 0.90

Calls 4

fetchActionRequestFunction · 0.85
fetchActionSuccessFunction · 0.85
fetchActionFailureFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected