We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18d52f7 commit f171b5aCopy full SHA for f171b5a
1 file changed
packages/linejs/base/service/auth/mod.ts
@@ -259,7 +259,7 @@ export class AuthService implements BaseService {
259
const parsedBody = new Uint8Array(buf);
260
let res: any;
261
try {
262
- const protocol = Protocols[this.protocolType as unknown as number];
+ const protocol = Protocols[this.protocolType];
263
res = this.client.thrift.readThrift(parsedBody, protocol);
264
} catch (_) {
265
throw new InternalError("RequestError", `Invalid response buffer for logoutZ: <${[...parsedBody].map((v) => v.toString(16)).join(" ")}>`);
0 commit comments