feat: Implement get payment plans API endpoint

This commit is contained in:
Faruk AYDIN
2024-02-21 18:06:56 +01:00
parent 84a0b37fcc
commit d21e1f75b5
5 changed files with 71 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
import { Router } from 'express';
import { authenticateUser } from '../../../helpers/authentication.js';
import checkIsCloud from '../../../helpers/check-is-cloud.js';
import getPlansAction from '../../../controllers/api/v1/payment/get-plans.ee.js';
const router = Router();
router.get('/plans', authenticateUser, checkIsCloud, getPlansAction);
export default router;