feat: Implement getPaddleInfo graphQL query

This commit is contained in:
Faruk AYDIN
2023-03-21 00:55:27 +03:00
parent 46dbe009f2
commit 040ad9edb0
4 changed files with 24 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
import appConfig from '../../config/app';
import Billing from '../../helpers/billing/index.ee';
const getPaddleInfo = async () => {
if (!appConfig.isCloud) return;
return Billing.paddleInfo;
};
export default getPaddleInfo;