Create notes.js

This commit is contained in:
2025-05-11 22:01:22 +05:00
committed by GitHub
parent f4877993bf
commit 867b56fb77

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

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