mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-23 16:00:38 +00:00
rename list_custom_instance_pg_databases
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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<DB>,
|
||||
) -> JsonResult<HashMap<String, CustomInstanceDb>> {
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
})
|
||||
}
|
||||
|
||||
const customInstanceDbs = resource([], SettingService.getCustomInstanceDbs)
|
||||
const customInstanceDbs = resource([], SettingService.listCustomInstanceDbs)
|
||||
|
||||
async function onSave() {
|
||||
try {
|
||||
|
||||
@@ -125,7 +125,7 @@
|
||||
)
|
||||
)
|
||||
|
||||
const customInstanceDbs = resource([], SettingService.getCustomInstanceDbs)
|
||||
const customInstanceDbs = resource([], SettingService.listCustomInstanceDbs)
|
||||
|
||||
async function onSave() {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user