fix: add apiResponse.text() to logging

This commit is contained in:
Arvid Norlin
2024-08-23 08:36:14 +02:00
committed by Michael Zetterberg
parent 7cd6367c15
commit 9497e8eef3
6 changed files with 86 additions and 26 deletions

View File

@@ -1,5 +1,3 @@
import { error } from "console"
import { GetContactConfig } from "@/lib/graphql/Query/ContactConfig.graphql"
import {
GetCurrentFooter,
@@ -11,11 +9,7 @@ import {
} from "@/lib/graphql/Query/CurrentHeader.graphql"
import { request } from "@/lib/graphql/request"
import { notFound } from "@/server/errors/trpc"
import {
contentstackBaseProcedure,
publicProcedure,
router,
} from "@/server/trpc"
import { contentstackBaseProcedure, router } from "@/server/trpc"
import { generateTag } from "@/utils/generateTag"