Skip to content

Commit

Permalink
style: Fixed lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
icleitoncosta committed Oct 29, 2024
1 parent f52d3b6 commit 8ea7a21
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/util/createSessionUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ export default class CreateSessionUtil {
}
} catch (e) {
req.logger.error(e);
if (e instanceof Error && e.name == "TimeoutError") {
let client = this.getClient(session) as any;
client.status = 'CLOSED'
if (e instanceof Error && e.name == 'TimeoutError') {
const client = this.getClient(session) as any;
client.status = 'CLOSED';
}
}
}
Expand Down

0 comments on commit 8ea7a21

Please sign in to comment.