mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
refactor: uncomment feature guard (#5676)
This commit is contained in:
parent
dd08efe050
commit
c1c91b6ab8
1 changed files with 1 additions and 6 deletions
|
@ -8,7 +8,6 @@ import {
|
|||
import { yes } from '@silverhand/essentials';
|
||||
import { z } from 'zod';
|
||||
|
||||
import { EnvSet } from '#src/env-set/index.js';
|
||||
import RequestError from '#src/errors/RequestError/index.js';
|
||||
import koaGuard from '#src/middleware/koa-guard.js';
|
||||
import koaPagination from '#src/middleware/koa-pagination.js';
|
||||
|
@ -239,11 +238,7 @@ export default function organizationRoutes<T extends AuthedRouter>(...args: Rout
|
|||
// MARK: Mount sub-routes
|
||||
organizationRoleRoutes(...args);
|
||||
organizationScopeRoutes(...args);
|
||||
|
||||
// FIXME: @gao-sun
|
||||
if (EnvSet.values.isDevFeaturesEnabled) {
|
||||
organizationInvitationRoutes(...args);
|
||||
}
|
||||
organizationInvitationRoutes(...args);
|
||||
|
||||
// Add routes to the router
|
||||
originalRouter.use(router.routes());
|
||||
|
|
Loading…
Reference in a new issue