From 7ff81a891fe90b41a0ace1fc71460a4f7ffb36b6 Mon Sep 17 00:00:00 2001 From: Eddy Chen <89349085+ecxyzzy@users.noreply.github.com> Date: Sun, 10 Sep 2023 22:05:15 -0700 Subject: [PATCH] =?UTF-8?q?revert:=20=E2=8F=AA=EF=B8=8F=20undo=20logging?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/api/src/routes/v1/rest/courses/+endpoint.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/api/src/routes/v1/rest/courses/+endpoint.ts b/apps/api/src/routes/v1/rest/courses/+endpoint.ts index 100247cd..1e1d129c 100644 --- a/apps/api/src/routes/v1/rest/courses/+endpoint.ts +++ b/apps/api/src/routes/v1/rest/courses/+endpoint.ts @@ -1,5 +1,5 @@ import { PrismaClient } from "@libs/db"; -import { createErrorResult, createOKResult, logger } from "@libs/lambda"; +import { createErrorResult, createOKResult } from "@libs/lambda"; import type { APIGatewayProxyHandler } from "aws-lambda"; import { ZodError } from "zod"; @@ -13,8 +13,6 @@ export const GET: APIGatewayProxyHandler = async (event, context) => { const query = event.queryStringParameters; const requestId = context.awsRequestId; - logger.info(headers); - /** * TODO: handle warmer requests. */