Skip to content

Commit 7c79739

Browse files
committed
use bracket notation for LINE_PROTO_SUPPORT_VERSION
1 parent 812d5b8 commit 7c79739

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ class SenderOptions {
236236

237237
const url = `${options.protocol}://${options.host}:${options.port}/settings`;
238238
const settings: {
239-
config: { LINE_PROTO_SUPPORT_VERSION: number[] };
239+
config: { [LINE_PROTO_SUPPORT_VERSION]: number[] };
240240
} = await fetchJson(
241241
url,
242242
isInteger(options.request_timeout, 1)

0 commit comments

Comments
 (0)