Skip to content

Commit

Permalink
address pr comment
Browse files Browse the repository at this point in the history
  • Loading branch information
efd6 committed Feb 9, 2025
1 parent 9ba60b6 commit 8457f5d
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ state:
want_more: false
user: "{{api_id}}"
password: "{{api_key}}"
redact:
fields:
- password
program: |
(
has(state.worklist) && size(state.worklist) > 0 ?
Expand Down Expand Up @@ -52,7 +55,9 @@ program: |
},
},
"want_more": false,
}
"user": state.user,
"password": state.password,
}
)
).as(v, has(v.?events.error) ?
v
Expand Down Expand Up @@ -85,7 +90,7 @@ program: |
"next": (int(v.next)+1) < size(v.worklist) ? (int(v.next)+1) : 0,
"want_more": (int(v.next)+1) < size(v.worklist),
"user": state.user,
"password": state.password
"password": state.password,
})
:
{
Expand All @@ -102,6 +107,8 @@ program: |
},
},
"want_more": false,
"user": state.user,
"password": state.password,
}
)
)
Expand Down

0 comments on commit 8457f5d

Please sign in to comment.