feat: Introduce getAutomatischInfo graphQL query
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import appConfig from '../../config/app';
|
||||
|
||||
const getAutomatischInfo = async () => {
|
||||
return {
|
||||
isCloud: appConfig.isCloud,
|
||||
};
|
||||
};
|
||||
|
||||
export default getAutomatischInfo;
|
@@ -1,11 +0,0 @@
|
||||
import checkLicense from '../../helpers/check-license.ee';
|
||||
|
||||
const getLicense = async () => {
|
||||
const license = await checkLicense();
|
||||
|
||||
return {
|
||||
type: license ? 'ee' : 'ce',
|
||||
};
|
||||
};
|
||||
|
||||
export default getLicense;
|
Reference in New Issue
Block a user