Signed-off-by: Traxus <shyidx@gmail.com>

This commit is contained in:
Traxus 2023-04-21 21:00:32 -04:00
parent 26f6c74fd5
commit 360a04d83c

View File

@ -387,7 +387,7 @@ async function getSingleBlogPostJsonBySlug(slug : string) {
let jsonDirectory = getBlogJsonDirectoryPath();
let jsonFile = slug + '.json';
let jsonPath = path.join(jsonDirectory, jsonFile);
let blogPost = {};
let blogPost : any = {};
try {
let fileRawContents = await fs.readFile(jsonPath, 'utf8');