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

Function fetchApikeysData

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

Source from the content-addressed store, hash-verified

148 };
149};
150export const fetchApikeysData = (limit: number) => {
151 return (dispatch: any) => {
152 const project_base_url = 'api/v1'
153 dispatch(fetchApikeysRequest());
154 request.get(`${project_base_url}/apikeys?limit=${limit}`)
155 .then(response => {
156 dispatch(fetchApikeysSuccess(response));
157 })
158 .catch(error => {
159 dispatch(fetchApikeysFailure(error.message));
160 });
161 };
162};
163export const fetchRetrievalData = (params: any) => {
164 return (dispatch: any) => {
165 const project_base_url = 'api/v1'

Callers 3

handleCreateConfirmFunction · 0.90
handleDeleteConfirmFunction · 0.90
ProjectHomeFunction · 0.90

Calls 4

fetchApikeysRequestFunction · 0.85
fetchApikeysSuccessFunction · 0.85
fetchApikeysFailureFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected