Skip to content

Commit

Permalink
fix: Fix type issues occured after npm audit fix
Browse files Browse the repository at this point in the history
  • Loading branch information
melsener committed Nov 11, 2024
1 parent 5aedbfd commit 09b8750
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/server/adapters/context/contexts.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Context } from "./context";

export interface LoggerContext {
export type LoggerContext = {
correlationId: string;
}

Expand Down
2 changes: 1 addition & 1 deletion src/server/adapters/logger/errorTracker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const getSentry = ({ sentryDSN, environment, version }: SentryGetParams): ErrorT
captureError: (error, { meta, context }): void => {
withScope(scope => {
if (meta) {
scope.setContext("Meta", meta);
scope.setContext("Meta", meta as Record<string, unknown>);
}

if (context) {
Expand Down

0 comments on commit 09b8750

Please sign in to comment.