Skip to content

Commit c07bff6

Browse files
committed
Await the prettyPrintPackage
1 parent b563e98 commit c07bff6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/webapp/app/presenters/v3/SpanPresenter.server.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ export class SpanPresenter {
4343
span.outputType === "application/store"
4444
? `/resources/packets/${span.environmentId}/${span.output}`
4545
: typeof span.output !== "undefined" && span.output !== null
46-
? prettyPrintPacket(span.output, span.outputType ?? undefined)
46+
? await prettyPrintPacket(span.output, span.outputType ?? undefined)
4747
: undefined;
4848

4949
const payload =
5050
span.payloadType === "application/store"
5151
? `/resources/packets/${span.environmentId}/${span.payload}`
5252
: typeof span.payload !== "undefined" && span.payload !== null
53-
? prettyPrintPacket(span.payload, span.payloadType ?? undefined)
53+
? await prettyPrintPacket(span.payload, span.payloadType ?? undefined)
5454
: undefined;
5555

5656
return {

0 commit comments

Comments
 (0)