mirror of
https://github.com/LaconicNetwork/laconic.com.git
synced 2026-05-05 15:14:09 +00:00
Signed-off-by: Traxus <shyidx@gmail.com>
This commit is contained in:
parent
2b914caca5
commit
fe88281340
@ -369,8 +369,8 @@ export async function getAllBlogPostsSlugsFromSource() {
|
||||
|
||||
}
|
||||
|
||||
export async function getAllBlogPostsFromSource(datocmsFilters : any) {
|
||||
let allBlogPostsFromSource = {};
|
||||
export async function getAllBlogPostsFromSource(datocmsFilters : any) : any {
|
||||
let allBlogPostsFromSource : any = {};
|
||||
|
||||
if (process.env.NEXT_PUBLIC_DATOCMS_BYPASS_TYPE === "local_json") {
|
||||
allBlogPostsFromSource = await getAllBlogPostsJson();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user