This commit is contained in:
Otang45
2023-08-18 21:49:32 +07:00
commit 4e25ea2698
33 changed files with 762978 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
const doa = require("../services/doaService");
const getAllDoa = (req, res) => {
res.send({ data: doa.getAllDoa() });
};
const getDoa = (req, res) => {
const { source } = req.params;
res.send({ data: doa.getDoa(source) });
};
module.exports = {
getAllDoa,
getDoa,
};