Skip to content

Commit c5bada6

Browse files
committed
Fix CodeQL
1 parent 13f9c51 commit c5bada6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

www/js/wizard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2494,7 +2494,7 @@ function startWizardHome_assistant(e)
24942494
haConfig.type = 'home_assistant';
24952495
haConfig.colorOrder = conf_editor.getEditor("root.generalOptions.colorOrder").getValue();
24962496
haConfig.homeAssistantHost = $('#hostHA').val().trim();
2497-
haConfig.longLivedAccessToken= $('#tokenHA').val().trim();
2497+
haConfig.longLivedAccessToken= `${$('#tokenHA').val().trim()}`;
24982498
haConfig.transition = conf_editor.getEditor("root.specificOptions.transition").getValue();
24992499
haConfig.restoreOriginalState = conf_editor.getEditor("root.specificOptions.restoreOriginalState").getValue();
25002500
haConfig.maxRetry = conf_editor.getEditor("root.specificOptions.maxRetry").getValue();

0 commit comments

Comments
 (0)