Skip to content

Commit

Permalink
Fixed unFlattenAttributes import
Browse files Browse the repository at this point in the history
  • Loading branch information
ericallam committed Feb 21, 2024
1 parent 584936f commit 24600d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/webapp/app/presenters/v3/SpanPresenter.server.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Attributes } from "@opentelemetry/api";
import { TaskEventStyle } from "@trigger.dev/core/v3";
import { unflattenAttributes } from "@trigger.dev/core/v3/utils/flattenAttributes";
import { unflattenAttributes } from "@trigger.dev/core/v3";
import { PrismaClient, prisma, Prisma } from "~/db.server";

type Result = Awaited<ReturnType<SpanPresenter["call"]>>;
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/v3/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ export { TriggerTracer } from "./tracer";
export type { TaskLogger } from "./logger/taskLogger";
export { OtelTaskLogger } from "./logger/taskLogger";
export { ConsoleInterceptor } from "./consoleInterceptor";
export { flattenAttributes } from "./utils/flattenAttributes";
export { flattenAttributes, unflattenAttributes } from "./utils/flattenAttributes";

0 comments on commit 24600d2

Please sign in to comment.