Optimize get_subscriptions AJAX

このコミットが含まれているのは:
Omar Roth 2019-06-16 17:33:24 -05:00
コミット 485a3e29e7
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: B8254FB7EC3D37F2
1個のファイルの変更1行の追加1行の削除

ファイルの表示

@ -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) {