Skip to content

Commit f6a4dc9

Browse files
committed
Bug fix
1 parent c1104f9 commit f6a4dc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/messages/interactive.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ export class ActionNavigateFlow extends ActionFlow {
834834
}
835835
});
836836

837-
if (data && !Object.keys(data)) {
837+
if (data && !Object.keys(data).length) {
838838
throw new Error("Flow data must be a non-empty object if provided");
839839
}
840840
}

0 commit comments

Comments
 (0)