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

17
src/database/doa.js Normal file
View File

@@ -0,0 +1,17 @@
const doa = require("./json/doa.json");
const getAllDoa = () => {
return doa;
};
const getDoa = (source) => {
var result = [];
for (let index = 0; index < doa.length; index++) {
const element = doa[index];
if (element.source == source) {
result.push(element);
}
}
return result;
};
module.exports = { getAllDoa, getDoa };