mirror of
https://github.com/LaconicNetwork/laconic.com.git
synced 2026-03-01 11:24:07 +00:00
Signed-off-by: Traxus <shyidx@gmail.com>
This commit is contained in:
parent
2b5e0f1b12
commit
2b914caca5
@ -45,7 +45,7 @@ export async function request({ query, variables, preview }: props) {
|
||||
*/
|
||||
|
||||
if (process.env.NEXT_PUBLIC_DATOCMS_BYPASS_TYPE === "local_json") {
|
||||
let interceptData = await datocmsQueryIntercept(query);
|
||||
let interceptData : any = await datocmsQueryIntercept(query);
|
||||
|
||||
if (interceptData.error) {
|
||||
console.error(interceptData.error);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user