Skip to content

Commit

Permalink
refactor: remove unnecessary assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
pawel-id committed Jan 6, 2024
1 parent 6a37e76 commit 7c2d686
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/bir.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,8 @@ export default class Bir {

/**
* Logout (method: Wyloguj)
*
*/
async logout() {
assert(this.sid, new BirError('Not loggged in'))
const body = await template('Wyloguj', { sid: this.sid })
const response = await this.api({ body })
soapResult(response.body)
Expand Down

0 comments on commit 7c2d686

Please sign in to comment.