Skip to content

Commit

Permalink
fix: import correct logger (#675)
Browse files Browse the repository at this point in the history
* fix: import correct logger

* changeset
  • Loading branch information
sommeeeer authored Dec 12, 2024
1 parent 590bf63 commit 697681b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/three-cobras-mix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@opennextjs/aws": patch
---

Import correct loggers in proxyExternalRequest override
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { debug, error } from "node:console";
import { request } from "node:https";
import { Readable } from "node:stream";
import type { InternalEvent, InternalResult } from "types/open-next";
import type { ProxyExternalRequest } from "types/overrides";
import { debug, error } from "../../adapters/logger";
import { isBinaryContentType } from "../../utils/binary";

function filterHeadersForProxy(
Expand Down

0 comments on commit 697681b

Please sign in to comment.