Skip to content

Commit 1f71409

Browse files
committed
fix(run-store): accept the run-ops client in the legacy completed-waitpoint connect
The legacy raw-insert helper only calls $executeRaw but typed its client parameter narrower than its dedicated sibling, so callers passing the store's own client failed the build. Widen it to the same client type.
1 parent 12c839c commit 1f71409

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal-packages/run-store/src/PostgresRunStore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,7 @@ export class PostgresRunStore implements RunStore {
934934
// (NEW-resident) token; the raw insert + dropped _completedWaitpoints_B_fkey records it. A =
935935
// TaskRunExecutionSnapshot.id, B = Waitpoint.id (implicit M2M alphabetical order).
936936
async #connectCompletedWaitpointsLegacy(
937-
client: PrismaClientOrTransaction,
937+
client: RunOpsCapableClient,
938938
snapshotId: string,
939939
waitpointIds: string[]
940940
): Promise<void> {

0 commit comments

Comments
 (0)