Clean
This commit is contained in:
parent
e2c1a549de
commit
1187bd8fb2
|
@ -8,7 +8,6 @@ export async function fetch(ctx: Ctx) {
|
||||||
|
|
||||||
export async function findByTable(ctx: Ctx) {
|
export async function findByTable(ctx: Ctx) {
|
||||||
const tableId = `${DocumentType.TABLE}${SEPARATOR}${ctx.params.tableId}`
|
const tableId = `${DocumentType.TABLE}${SEPARATOR}${ctx.params.tableId}`
|
||||||
console.error(tableId)
|
|
||||||
ctx.body = { views: await sdk.views.findByTable(tableId) }
|
ctx.body = { views: await sdk.views.findByTable(tableId) }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue