Skip to content

Commit 4ea9d3e

Browse files
committed
update
1 parent fd34e8e commit 4ea9d3e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/configuration/apiCommunicationUtils.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ function normalizeTopic(
3434
const getTopicValue = (t: { value?: string; type?: string; _?: string }): string =>
3535
typeof t._ === 'string' ? t._ :
3636
typeof t.value === 'string' ? t.value :
37-
typeof t.type === 'string' ? t.type :
3837
'';
3938

4039
if (Array.isArray(topic)) {
@@ -43,4 +42,4 @@ function normalizeTopic(
4342
}
4443

4544
return [{ value: getTopicValue(topic) }];
46-
}
45+
}

0 commit comments

Comments
 (0)