diff --git a/src/bir.ts b/src/bir.ts index a0619d2..b4eb13d 100644 --- a/src/bir.ts +++ b/src/bir.ts @@ -58,7 +58,7 @@ export default class Bir { const body = await template('Zaloguj', { key: this.key }) const response = await this.api({ body }) const sid = soapResult(response.body) - assert(sid, new Error('login failed, no session foun in response')) + assert(sid, new Error('login failed, no session found in response')) this.sid = sid }