add variable declarations

This commit is contained in:
meow 2022-04-20 13:23:24 +03:00
parent 12ab11413f
commit 9b09d369d9
4 changed files with 27 additions and 27 deletions

View file

@ -18,7 +18,7 @@ function get_subscriptions(callback, retries) {
xhr.onreadystatechange = function () {
if (xhr.readyState === 4) {
if (xhr.status === 200) {
subscriptions = xhr.response;
var subscriptions = xhr.response;
callback(subscriptions);
}
}