Skip to content

Commit b11f11f

Browse files
committed
Fix typo in TopicNotAvailableError context
1 parent 54f2034 commit b11f11f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/KafkaSSE.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ class KafkaSSE {
439439
throw new TopicNotAvailableError(
440440
`Topic '${topic}' is not available for consumption.`,
441441
{
442-
availableTopics: this.availaleTopics,
442+
availableTopics: this.availableTopics,
443443
// Recommended http status response for this error
444444
statusCode: 404
445445
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "kafka-sse",
3-
"version": "0.0.4",
3+
"version": "0.0.5",
44
"description": "KafkaSSE - Kafka Consumer to HTTP SSE/EventSource",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)