Update launch.json and API routes

This commit is contained in:
Simon Larsen
2024-01-25 10:41:00 +00:00
parent 90ccae645a
commit b702113357
3 changed files with 3 additions and 3 deletions

2
.vscode/launch.json vendored
View File

@@ -30,7 +30,7 @@
{
"address": "127.0.0.1",
"localRoot": "${workspaceFolder}/App",
"name": "Dashboard API: Debug with Docker",
"name": "App: Debug with Docker",
"port": 9232,
"remoteRoot": "/usr/src/app",
"request": "attach",

View File

@@ -777,7 +777,7 @@ export default class AnalyticsDatabaseService<
Protocol.HTTP,
AppApiHostname,
new Route(
`/api/${WorkflowRoute.toString()}/analytics-model/${projectId.toString()}/${Text.pascalCaseToDashes(
`/api${WorkflowRoute.toString()}/analytics-model/${projectId.toString()}/${Text.pascalCaseToDashes(
this.getModel().tableName!
)}/${triggerType}`
)

View File

@@ -561,7 +561,7 @@ class DatabaseService<TBaseModel extends BaseModel> extends BaseService {
Protocol.HTTP,
AppApiHostname,
new Route(
`/api/${WorkflowRoute.toString()}/model/${projectId.toString()}/${Text.pascalCaseToDashes(
`/api${WorkflowRoute.toString()}/model/${projectId.toString()}/${Text.pascalCaseToDashes(
this.getModel().tableName!
)}/${triggerType}`
)