Remove todo, rename registry key
This commit is contained in:
1 parent
1b4d0b5f90
commit
4f22353d14
7 files changed
+6
-23
No files matched your search
@@ -74,7 +74,7 @@ class InvidiousService
|
||||
end function
|
||||
|
||||
function GetAuthenticationHeaders() as object
|
||||
token = RegistryUtils.Read("token")
|
||||
token = RegistryUtils.Read("invidious_token")
|
||||
if token = invalid
|
||||
return invalid
|
||||
end if
|
||||
@@ -118,7 +118,7 @@ class InvidiousService
|
||||
if response.statuscode = 403
|
||||
print(`Server responded with 403: ${response.text}`)
|
||||
print("deleting token...")
|
||||
RegistryUtils.Delete("token")
|
||||
RegistryUtils.Delete("invidious_token")
|
||||
end if
|
||||
end function
|
||||
|
||||
|
||||
Reference in new issue
Block a user