Renames
This commit is contained in:
parent
165d86c246
commit
251663f38c
|
@ -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) {
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue