Update and rename is_role.js to is_roles.js

This commit is contained in:
2025-05-03 18:46:46 +05:00
committed by GitHub
parent 1b18264ec0
commit 3aff1ed180
2 changed files with 10 additions and 1 deletions

View File

@@ -1 +0,0 @@

10
api/v1/src/is_roles.js Normal file
View File

@@ -0,0 +1,10 @@
const fs = require('fs');
const path = require('path');
function getRolesUsers() {
const filePath = path.join(__dirname, 'is_roles.json');
const fileData = fs.readFileSync(filePath, 'utf-8');
return JSON.parse(fileData);
}
module.exports = getRolesUsers;