refactor: Move saml auth providers endpoint to admin namespace

This commit is contained in:
Faruk AYDIN
2024-02-19 22:18:15 +01:00
parent 6fe9a548ad
commit 679d0808a9
6 changed files with 56 additions and 53 deletions

View File

@@ -0,0 +1,11 @@
import { renderObject } from '../../../../../helpers/renderer.js';
import SamlAuthProvider from '../../../../../models/saml-auth-provider.ee.js';
export default async (request, response) => {
const samlAuthProviders = await SamlAuthProvider.query().orderBy(
'created_at',
'desc'
);
renderObject(response, samlAuthProviders);
};