Skip to content

Commit d24e976

Browse files
committed
Fix for TS error on waitpoint retrieve
1 parent 6890cce commit d24e976

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export class SpanPresenter extends BasePresenter {
4242
select: {
4343
traceId: true,
4444
runtimeEnvironmentId: true,
45+
projectId: true,
4546
taskEventStore: true,
4647
createdAt: true,
4748
completedAt: true,
@@ -79,6 +80,7 @@ export class SpanPresenter extends BasePresenter {
7980
traceId,
8081
spanId,
8182
environmentId: parentRun.runtimeEnvironmentId,
83+
projectId: parentRun.projectId,
8284
createdAt: parentRun.createdAt,
8385
completedAt: parentRun.completedAt,
8486
});
@@ -403,12 +405,14 @@ export class SpanPresenter extends BasePresenter {
403405
traceId,
404406
spanId,
405407
environmentId,
408+
projectId,
406409
createdAt,
407410
completedAt,
408411
}: {
409412
traceId: string;
410413
spanId: string;
411414
environmentId: string;
415+
projectId: string;
412416
eventStore: TaskEventStoreTable;
413417
createdAt: Date;
414418
completedAt: Date | null;
@@ -464,6 +468,7 @@ export class SpanPresenter extends BasePresenter {
464468
const waitpoint = await presenter.call({
465469
friendlyId: span.entity.id,
466470
environmentId,
471+
projectId,
467472
});
468473

469474
if (!waitpoint) {

0 commit comments

Comments
 (0)