From db78494b1a3df72fcde9745d30bdfeb8ac727a32 Mon Sep 17 00:00:00 2001 From: marcos-silva-rodrigues Date: Mon, 27 Jan 2025 14:39:12 -0300 Subject: [PATCH] FIX: test log headers --- src/modules/open-data/open-data.controller.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/modules/open-data/open-data.controller.ts b/src/modules/open-data/open-data.controller.ts index 4a184b7..d85c53a 100644 --- a/src/modules/open-data/open-data.controller.ts +++ b/src/modules/open-data/open-data.controller.ts @@ -46,11 +46,15 @@ export class OpenDataController { ) { this.logger.info('createUser for open data' + JSON.stringify({ - origin: request.headers.origin, language, body })); + this.logger.info('headers' + + JSON.stringify({ + headers: request.headers + })); + // "401573bb-334f-44b2-b30e-88d4cea31ae9" // const OPENDATA_PUBLIC_USERS_GROUP_ID = process.env.OPEN_GROUP_ID; // ""f239718a-a271-4ef9-ae7e-02a2f0f3aa6e""