Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.

Commit 9fbc1ba

Browse files
committed
Fix broken pg-meta endpoint
1 parent 5b8f5a3 commit 9fbc1ba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@backengine/codegen",
3-
"version": "1.0.13",
3+
"version": "1.0.14",
44
"description": "Generate code for Backengine projects.",
55
"bin": "build/index.js",
66
"files": [

src/hooks/view.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export type ViewsResponse =
1010

1111
const parseViewNames = async (): Promise<string[]> => {
1212
const response = await axios.get<ViewsResponse>(
13-
`${process.env.BACKENGINE_BASE_URL}/api/v1/projects/${process.env.BACKENGINE_PROJECT_ID}/pg-meta/tables`,
13+
`${process.env.BACKENGINE_BASE_URL}/api/v1/projects/${process.env.BACKENGINE_PROJECT_ID}/pg-meta/views`,
1414
{
1515
headers: {
1616
Authorization: `Bearer ${process.env.BACKENGINE_API_KEY}`,

0 commit comments

Comments
 (0)