mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-02 14:57:17 +00:00
feat: nested read api
Signed-off-by: Pranav C <61551451+pranavxc@users.noreply.github.com>
This commit is contained in:
@@ -11,8 +11,8 @@ export default class RestApi {
|
||||
return data.data
|
||||
}
|
||||
|
||||
async read(id) {
|
||||
const data = await this.get(`/nc/${this.$ctx.projectId}/api/v1/${this.table}/${id}`)
|
||||
async read(id, params = {}) {
|
||||
const data = await this.get(`/nc/${this.$ctx.projectId}/api/v1/${this.table}/${id}`, params)
|
||||
return data.data
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user