Skip to content

Commit 3c1ed4c

Browse files
committed
Gateway: versionのセッターを修正
1 parent 2046e81 commit 3c1ed4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/client/Gateway.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ export abstract class Gateway {
2828
this.url = options.url;
2929
}
3030

31-
if (options && options.token) {
32-
this.version = options.version || '';
31+
if (options && options.version) {
32+
this.version = options.version;
3333
}
3434

3535
if (options && options.token) {

0 commit comments

Comments
 (0)