File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
- import { AppApiHostname } from "../EnvironmentConfig" ;
1
+ import { WorkflowHostname } from "../EnvironmentConfig" ;
2
2
import ClickhouseDatabase , {
3
3
ClickhouseAppInstance ,
4
4
ClickhouseClient ,
@@ -1045,9 +1045,9 @@ export default class AnalyticsDatabaseService<
1045
1045
API . post (
1046
1046
new URL (
1047
1047
Protocol . HTTP ,
1048
- AppApiHostname ,
1048
+ WorkflowHostname ,
1049
1049
new Route (
1050
- `/api ${ WorkflowRoute . toString ( ) } /analytics-model/${ projectId . toString ( ) } /${ Text . pascalCaseToDashes (
1050
+ `/${ WorkflowRoute . toString ( ) } /analytics-model/${ projectId . toString ( ) } /${ Text . pascalCaseToDashes (
1051
1051
this . getModel ( ) . tableName ! ,
1052
1052
) } /${ triggerType } `,
1053
1053
) ,
Original file line number Diff line number Diff line change 1
- import { AppApiHostname , EncryptionSecret } from "../EnvironmentConfig" ;
1
+ import { EncryptionSecret , WorkflowHostname } from "../EnvironmentConfig" ;
2
2
import PostgresAppInstance from "../Infrastructure/PostgresDatabase" ;
3
3
import ClusterKeyAuthorization from "../Middleware/ClusterKeyAuthorization" ;
4
4
import CountBy from "../Types/Database/CountBy" ;
@@ -526,9 +526,9 @@ class DatabaseService<TBaseModel extends BaseModel> extends BaseService {
526
526
API . post (
527
527
new URL (
528
528
Protocol . HTTP ,
529
- AppApiHostname ,
529
+ WorkflowHostname ,
530
530
new Route (
531
- `/api ${ WorkflowRoute . toString ( ) } /model/${ projectId . toString ( ) } /${ Text . pascalCaseToDashes (
531
+ `/${ WorkflowRoute . toString ( ) } /model/${ projectId . toString ( ) } /${ Text . pascalCaseToDashes (
532
532
this . getModel ( ) . tableName ! ,
533
533
) } /${ triggerType } `,
534
534
) ,
You can’t perform that action at this time.
0 commit comments