Remove todo, rename registry key

This commit is contained in:
Brahim Hadriche committed 2022-11-19 14:08:00 -05:00
1 parent 1b4d0b5f90
commit 4f22353d14
7 files changed
+6 -23

No files matched your search

+2 -2
View File
@@ -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