From 62ca4e5f60720cad39fd9705749d93f4e59a3c65 Mon Sep 17 00:00:00 2001 From: Guilherme Carvalho Date: Wed, 26 Oct 2022 11:19:03 -0300 Subject: [PATCH] Log request, bump beta version --- manifest.json | 2 +- node/middlewares/run.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 1b6463b..62293ec 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "$schema": "https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema", "vendor": "vtex", "name": "graphql-gateway", - "version": "1.1.0-beta.1", + "version": "1.1.0-beta.2", "title": "GraphQL Gateway for VTEX APIs", "description": "A Graph containing all VTEX's commerce APIs", "builders": { diff --git a/node/middlewares/run.ts b/node/middlewares/run.ts index e852e61..c01b535 100644 --- a/node/middlewares/run.ts +++ b/node/middlewares/run.ts @@ -9,6 +9,8 @@ export default async function run(ctx: Context, next: () => Promise) { request, } = ctx + console.log(request) + const { graphqlResponse, responseInit } = await runHttpQuery([], { method, options: {