(limit: number)
| 148 | }; |
| 149 | }; |
| 150 | export 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 | }; |
| 163 | export const fetchRetrievalData = (params: any) => { |
| 164 | return (dispatch: any) => { |
| 165 | const project_base_url = 'api/v1' |
no test coverage detected