mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Optimize get_subscriptions AJAX
This commit is contained in:
parent
1477f99c2c
commit
485a3e29e7
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ function get_subscriptions(callback, retries = 5) {
|
|||
var xhr = new XMLHttpRequest();
|
||||
xhr.responseType = 'json';
|
||||
xhr.timeout = 10000;
|
||||
xhr.open('GET', '/api/v1/auth/subscriptions', true);
|
||||
xhr.open('GET', '/api/v1/auth/subscriptions?fields=authorId', true);
|
||||
|
||||
xhr.onreadystatechange = function () {
|
||||
if (xhr.readyState === 4) {
|
||||
|
|
Loading…
Reference in a new issue