Fix fetchRow not working in internal API
This commit is contained in:
parent
0840bcb7d7
commit
34ec25af1d
|
@ -8,10 +8,9 @@ export const buildRowEndpoints = API => ({
|
|||
if (!tableId || !rowId) {
|
||||
return null
|
||||
}
|
||||
const row = await API.get({
|
||||
return await API.get({
|
||||
url: `/api/${tableId}/rows/${rowId}`,
|
||||
})
|
||||
return (await API.enrichRows([row], tableId))[0]
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue