Skip to content

Commit eccd473

Browse files
Schnizvercel[bot]
andcommitted
Update packages/workflow/src/api-workflow.ts
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com> Signed-off-by: Gal Schlezinger <gal@spitfire.co.il>
1 parent ee3d29e commit eccd473

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() {
16+
workflowStub('Run');
17+
}
1618
}
1719
export const getRun = () => workflowStub('getRun');
1820
export const getHookByToken = () => workflowStub('getHookByToken');

0 commit comments

Comments
 (0)