This commit is contained in:
Adria Navarro 2023-12-13 09:57:12 +01:00
parent 165d86c246
commit 251663f38c
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ export async function fetchDefinitions(ctx: Ctx) {
ctx.status = 200 ctx.status = 200
} }
export async function migrationCompleted(ctx: Ctx) { export async function getMigrationStatus(ctx: Ctx) {
const appId = context.getAppId() const appId = context.getAppId()
if (!appId) { if (!appId) {

View File

@ -11,6 +11,6 @@ router
auth.internalApi, auth.internalApi,
migrationsController.fetchDefinitions migrationsController.fetchDefinitions
) )
.get("/api/migrations/status", migrationsController.migrationCompleted) .get("/api/migrations/status", migrationsController.getMigrationStatus)
export default router export default router