(collectionId: string, id: string, params: object)
| 29 | |
| 30 | } |
| 31 | const updateRecord = async (collectionId: string, id: string, params: object) => { |
| 32 | const project_base_url = `api/v1` |
| 33 | return await request.post(`${project_base_url}/collections/${collectionId}/chunks/${id}`, params) |
| 34 | } |
| 35 | const getRecord = async (collectionId: string, id: string) => { |
| 36 | const project_base_url = `api/v1` |
| 37 | return await request.get(`${project_base_url}/collections/${collectionId}/chunks/${id}`) |
no outgoing calls
no test coverage detected