Skip to content

Conversation

@T4rk1n
Copy link
Contributor

@T4rk1n T4rk1n commented Feb 14, 2025

Fixes #3163

Copy link
Contributor

@gvwilson gvwilson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one small suggestion but 👍 to merge

componentId = JSON.parse(componentId);
const trig = triggered[0];
let componentId;
if (trig.startsWith('{')) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

worth stripping whitespace from triggered[0] before this test?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, we create this composite, there is no whitespace possible.

@T4rk1n T4rk1n merged commit a00407d into dev Feb 14, 2025
3 checks passed
@T4rk1n T4rk1n deleted the fix/dot-in-dict branch February 14, 2025 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error "Unterminated string in JSON at position 11 (line 1 column 12)" from client side callback if id dict contains dot symbol

3 participants