Renames and consistency

This commit is contained in:
adrinr 2023-03-14 12:22:28 +01:00
parent 9c64f54fa9
commit 39f9ffa4e6
1 changed files with 4 additions and 7 deletions

View File

@ -1,5 +1,5 @@
import Router from "@koa/router"
import { api } from "@budibase/pro"
import { api as pro } from "@budibase/pro"
import userRoutes from "./global/users"
import configRoutes from "./global/configs"
import workspaceRoutes from "./global/workspaces"
@ -17,9 +17,6 @@ import migrationRoutes from "./system/migrations"
import accountRoutes from "./system/accounts"
import restoreRoutes from "./system/restore"
let userGroupRoutes = api.groups
let auditLogRoutes = api.auditLogs
export const routes: Router[] = [
configRoutes,
userRoutes,
@ -33,11 +30,11 @@ export const routes: Router[] = [
statusRoutes,
selfRoutes,
licenseRoutes,
userGroupRoutes,
auditLogRoutes,
pro.groups,
pro.auditLogs,
migrationRoutes,
accountRoutes,
restoreRoutes,
eventRoutes,
...api.scimRoutes,
...pro.scimRoutes,
]