refactor: rewrite useSamlAuthProviders with RQ

This commit is contained in:
Rıdvan Akca
2024-03-14 15:13:17 +03:00
parent 3aa86eebf2
commit ab49535b6c
12 changed files with 52 additions and 48 deletions

View File

@@ -1,9 +0,0 @@
import SamlAuthProvider from '../../models/saml-auth-provider.ee.js';
const listSamlAuthProviders = async () => {
const providers = await SamlAuthProvider.query().where({ active: true });
return providers;
};
export default listSamlAuthProviders;