Skip to content

Commit 1a85641

Browse files
committed
silly
1 parent 36495d5 commit 1a85641

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ god knew i'd be too powerful if I could solve captchas everyday so here we are
2121
first import the `WebPortal` class inside a `<script type="module">` tag:
2222

2323
```javascript
24-
import { WebPortal } from 'https://cdn.jsdelivr.net/npm/[email protected].14/dist/jsjiit.min.esm.js';
24+
import { WebPortal } from 'https://cdn.jsdelivr.net/npm/[email protected].15/dist/jsjiit.min.esm.js';
2525
```
2626

2727
> [!IMPORTANT]

src/wrapper.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ export class WebPortal {
137137
if (response.status === 513) {
138138
throw new exception("JIIT Web Portal server is temporarily unavailable (HTTP 513). Please try again later.");
139139
}
140-
if (resp.status === 401) {
141-
throw new SessionExpired(resp.error);
140+
if (response.status === 401) {
141+
throw new SessionExpired(response.error);
142142
}
143143

144144
const resp = await response.json();

0 commit comments

Comments
 (0)