Skip to content

Commit 1b32bce

Browse files
Pending status support
1 parent 9766f0a commit 1b32bce

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"ai-agent"
4444
],
4545
"dependencies": {
46-
"@linkedapi/node": "^1.2.16",
46+
"@linkedapi/node": "^1.2.17",
4747
"@oclif/core": "^4.2.10"
4848
},
4949
"devDependencies": {

src/commands/workflow/status.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ See https://linkedapi.io/docs/executing-workflows/ for details on workflow execu
5151
} else {
5252
const status = await client.customWorkflow.status(args.id);
5353

54-
if (status === 'running') {
54+
if (status === 'running' || status === 'pending') {
5555
formatOutput({
5656
data: {
5757
workflowId: args.id,
58-
status: 'running',
58+
status,
5959
},
6060
errors: [],
6161
isJson: flags.json,

0 commit comments

Comments
 (0)