mirror of
https://github.com/NoCrypt/migu.git
synced 2026-04-14 05:20:22 +00:00
fix trailing 'state' on line 58
I don't know how it got there
This commit is contained in:
parent
8f286e1fbe
commit
0277b171e0
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ window.addEventListener('paste', ({ clipboardData }) => {
|
|||
clipboardData.items[0].getAsString(text => {
|
||||
if (text.includes("access_token=")) { // is an AniList token
|
||||
let token = text.split('access_token=')?.[1]?.split('&token_type')?.[0]
|
||||
if (token) {state
|
||||
if (token) {
|
||||
if (token.endsWith('/')) token = token.slice(0, -1)
|
||||
handleToken(token)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue