chore: Remove old admin app auth clients API endpoint

This commit is contained in:
Faruk AYDIN
2024-03-27 13:44:01 +01:00
parent 85b4cd4998
commit a873fd14bd
4 changed files with 0 additions and 80 deletions

View File

@@ -3,19 +3,10 @@ import asyncHandler from 'express-async-handler';
import { authenticateUser } from '../../../../helpers/authentication.js';
import { authorizeAdmin } from '../../../../helpers/authorization.js';
import { checkIsEnterprise } from '../../../../helpers/check-is-enterprise.js';
import getAdminAppAuthClientsAction from '../../../../controllers/api/v1/admin/app-auth-clients/get-app-auth-clients.ee.js';
import getAdminAppAuthClientAction from '../../../../controllers/api/v1/admin/app-auth-clients/get-app-auth-client.ee.js';
const router = Router();
router.get(
'/',
authenticateUser,
authorizeAdmin,
checkIsEnterprise,
asyncHandler(getAdminAppAuthClientsAction)
);
router.get(
'/:appAuthClientId',
authenticateUser,