Skip to content

Commit

Permalink
Fix broken pg-meta endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
sudhir-b committed Aug 10, 2023
1 parent 5b8f5a3 commit 9fbc1ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@backengine/codegen",
"version": "1.0.13",
"version": "1.0.14",
"description": "Generate code for Backengine projects.",
"bin": "build/index.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export type ViewsResponse =

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

0 comments on commit 9fbc1ba

Please sign in to comment.