From 251663f38c62eb4de2fce99c6ed4741ec543ebab Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Wed, 13 Dec 2023 09:57:12 +0100 Subject: [PATCH] Renames --- packages/server/src/api/controllers/migrations.ts | 2 +- packages/server/src/api/routes/migrations.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/server/src/api/controllers/migrations.ts b/packages/server/src/api/controllers/migrations.ts index 74e573dc6a..c8f786578d 100644 --- a/packages/server/src/api/controllers/migrations.ts +++ b/packages/server/src/api/controllers/migrations.ts @@ -18,7 +18,7 @@ export async function fetchDefinitions(ctx: Ctx) { ctx.status = 200 } -export async function migrationCompleted(ctx: Ctx) { +export async function getMigrationStatus(ctx: Ctx) { const appId = context.getAppId() if (!appId) { diff --git a/packages/server/src/api/routes/migrations.ts b/packages/server/src/api/routes/migrations.ts index 8f5cc63f82..918b197de2 100644 --- a/packages/server/src/api/routes/migrations.ts +++ b/packages/server/src/api/routes/migrations.ts @@ -11,6 +11,6 @@ router auth.internalApi, migrationsController.fetchDefinitions ) - .get("/api/migrations/status", migrationsController.migrationCompleted) + .get("/api/migrations/status", migrationsController.getMigrationStatus) export default router