feat: Introduce getLicense graphQL query

This commit is contained in:
Faruk AYDIN
2023-02-14 22:01:34 +01:00
parent 1847ad5622
commit 1dfb22d02e
7 changed files with 67 additions and 4 deletions

View File

@@ -0,0 +1,11 @@
import checkLicense from '../../helpers/checkLicense.ee';
const getLicense = async () => {
const license = await checkLicense();
return {
type: license ? 'ee' : 'ce',
};
};
export default getLicense;