FIX: test log headers

This commit is contained in:
marcos-silva-rodrigues
2025-01-27 14:39:12 -03:00
parent e7ad6e5a7b
commit db78494b1a
@@ -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""