diff --git a/backend/windmill-api/openapi.yaml b/backend/windmill-api/openapi.yaml index 30c6b4b6ed..52128b89f1 100644 --- a/backend/windmill-api/openapi.yaml +++ b/backend/windmill-api/openapi.yaml @@ -847,10 +847,10 @@ paths: schema: type: boolean - /settings/get_custom_instance_pg_databases: + /settings/list_custom_instance_pg_databases: post: summary: Returns the set-up statuses of custom instance pg databases - operationId: getCustomInstanceDbs + operationId: listCustomInstanceDbs tags: - setting responses: diff --git a/backend/windmill-api/src/settings.rs b/backend/windmill-api/src/settings.rs index d463e9b5aa..ec0fe5061e 100644 --- a/backend/windmill-api/src/settings.rs +++ b/backend/windmill-api/src/settings.rs @@ -70,8 +70,8 @@ pub fn global_service() -> Router { post(acknowledge_critical_alert), ) .route( - "/get_custom_instance_pg_databases", - post(get_custom_instance_pg_databases), + "/list_custom_instance_pg_databases", + post(list_custom_instance_pg_databases), ) .route( "/setup_custom_instance_pg_database/:name", @@ -606,7 +606,7 @@ struct CustomInstanceDbLogs { grant_permissions: String, } -async fn get_custom_instance_pg_databases( +async fn list_custom_instance_pg_databases( _authed: ApiAuthed, Extension(db): Extension, ) -> JsonResult> { diff --git a/frontend/src/lib/components/workspaceSettings/DataTableSettings.svelte b/frontend/src/lib/components/workspaceSettings/DataTableSettings.svelte index f6c9934ca7..4af5821451 100644 --- a/frontend/src/lib/components/workspaceSettings/DataTableSettings.svelte +++ b/frontend/src/lib/components/workspaceSettings/DataTableSettings.svelte @@ -103,7 +103,7 @@ }) } - const customInstanceDbs = resource([], SettingService.getCustomInstanceDbs) + const customInstanceDbs = resource([], SettingService.listCustomInstanceDbs) async function onSave() { try { diff --git a/frontend/src/lib/components/workspaceSettings/DucklakeSettings.svelte b/frontend/src/lib/components/workspaceSettings/DucklakeSettings.svelte index 58233c91e3..82edc30310 100644 --- a/frontend/src/lib/components/workspaceSettings/DucklakeSettings.svelte +++ b/frontend/src/lib/components/workspaceSettings/DucklakeSettings.svelte @@ -125,7 +125,7 @@ ) ) - const customInstanceDbs = resource([], SettingService.getCustomInstanceDbs) + const customInstanceDbs = resource([], SettingService.listCustomInstanceDbs) async function onSave() { try {