mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-21 16:02:28 +00:00
fix(typescript-client): improve setFlowUserState undefined value
This commit is contained in:
@@ -344,6 +344,9 @@ export async function setFlowUserState(
|
||||
errorIfNotPossible?: boolean
|
||||
): Promise<void> {
|
||||
!clientSet && setClient();
|
||||
if (value === undefined) {
|
||||
value = null;
|
||||
}
|
||||
const workspace = getWorkspace();
|
||||
try {
|
||||
await JobService.setFlowUserState({
|
||||
|
||||
Reference in New Issue
Block a user