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