We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8411515 commit 0fe8865Copy full SHA for 0fe8865
src/api/schemas.ts
@@ -47,7 +47,7 @@ export async function byId(
47
): /** Returns a single schemas */
48
Promise<{ data: Interfaces.Schema; error: null | Error }> {
49
try {
50
- const query = SQL``.append(allSchemasSql).append(SQL` and nsp.oid = ${id}`)
+ const query = SQL``.append(allSchemasSql).append(SQL` and n.oid = ${id}`)
51
const { data } = await RunQuery<Interfaces.Schema>(connection, query)
52
return { data: data[0], error: null }
53
} catch (error) {
0 commit comments