We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd34e8e commit 4ea9d3eCopy full SHA for 4ea9d3e
1 file changed
src/configuration/apiCommunicationUtils.ts
@@ -34,7 +34,6 @@ function normalizeTopic(
34
const getTopicValue = (t: { value?: string; type?: string; _?: string }): string =>
35
typeof t._ === 'string' ? t._ :
36
typeof t.value === 'string' ? t.value :
37
- typeof t.type === 'string' ? t.type :
38
'';
39
40
if (Array.isArray(topic)) {
@@ -43,4 +42,4 @@ function normalizeTopic(
43
42
}
44
45
return [{ value: getTopicValue(topic) }];
46
-}
+}
0 commit comments