Skip to content

Commit cedbade

Browse files
Schnizvercel[bot]
andauthored
Update packages/workflow/src/api-workflow.ts
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
1 parent ee3d29e commit cedbade

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/workflow/src/api-workflow.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ const workflowStub = (item: string) => {
1111
);
1212
};
1313

14-
export function Run() {
15-
workflowStub('Run');
14+
export class Run {
15+
constructor(runId?: string) {
16+
workflowStub('Run');
17+
}
1618
}
1719
export const getRun = () => workflowStub('getRun');
1820
export const getHookByToken = () => workflowStub('getHookByToken');

0 commit comments

Comments
 (0)