MCPcopy Create free account
hub / github.com/TaskingAI/TaskingAI / updateRecord

Function updateRecord

frontend/src/axios/chunk.ts:31–34  ·  view source on GitHub ↗
(collectionId: string, id: string, params: object)

Source from the content-addressed store, hash-verified

29
30}
31const 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}
35const 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}`)

Callers 2

handleConfirmFunction · 0.90
handleConfirmFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected