mirror of
https://github.com/LaconicNetwork/laconic.com.git
synced 2026-04-19 06:34:07 +00:00
Signed-off-by: Traxus <shyidx@gmail.com>
This commit is contained in:
parent
b5aed6e274
commit
7071b7b1f4
@ -544,7 +544,7 @@ function getRequiedBlogBlogCategoryNodes() {
|
||||
|
||||
}
|
||||
|
||||
export async function getAllBlogCategoriesJson() : any {
|
||||
export async function getAllBlogCategoriesJson() {
|
||||
let jsonDirectory = getBlogCategoriesJsonDirectoryPath();
|
||||
let validationNodes = getRequiedBlogBlogCategoryNodes();
|
||||
let allBlogCategoriesJson = await getJsonItemsFromDirectory(jsonDirectory, pluckBlogCategoriesData, validationNodes)
|
||||
@ -754,7 +754,7 @@ function sortTeamsJsonById(json : any) {
|
||||
return sortedJson;
|
||||
}
|
||||
|
||||
async function getAllTeamsJson() : any {
|
||||
async function getAllTeamsJson() {
|
||||
let jsonDirectory = getTeamsJsonDirectoryPath();
|
||||
let validationNodes = getRequiedTeamNodes();
|
||||
let teams = await getJsonItemsFromDirectory(jsonDirectory, pluckTeamData, validationNodes);
|
||||
@ -804,7 +804,7 @@ function sortTestimonialsJsonById(json : any) {
|
||||
return sortedJson;
|
||||
}
|
||||
|
||||
async function getAllTestimonialsJson() : any {
|
||||
async function getAllTestimonialsJson() {
|
||||
let jsonDirectory = getTestimonialsJsonDirectoryPath();
|
||||
let validationNodes = getRequiedTestimonialNodes();
|
||||
let testimonials = await getJsonItemsFromDirectory(jsonDirectory, pluckTestimonialData, validationNodes);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user