mirror of
https://github.com/LaconicNetwork/laconic.com.git
synced 2026-03-03 01:44:07 +00:00
Signed-off-by: Traxus <shyidx@gmail.com>
This commit is contained in:
parent
5deaedb8e7
commit
1899d0fd25
@ -224,7 +224,7 @@ function jsonNodesExist(jsonData : any, nodes : any) {
|
||||
|
||||
}
|
||||
|
||||
export async function getJsonItemsFromDirectory(jsonDirectory : string, pluckerFunction : any, validationNodes : string[]) {
|
||||
export async function getJsonItemsFromDirectory(jsonDirectory : string, pluckerFunction : any, validationNodes : any[]) {
|
||||
let jsonFiles = await fs.readdir(jsonDirectory);
|
||||
let returnJson = [];
|
||||
|
||||
@ -280,7 +280,7 @@ function pluckBlogPostData(json : any) {
|
||||
|
||||
}
|
||||
|
||||
function getRequiedBlogPostNodes() : string[] {
|
||||
function getRequiedBlogPostNodes() : any[] {
|
||||
|
||||
let nodes = [];
|
||||
let contentNodes = [];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user