Fix: fetch remote acct data
This commit is contained in:
parent
2936bd1e5a
commit
eda554eb8f
|
@ -25,7 +25,7 @@ function udgEx(user, acct_id) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
var at = localStorage.getItem("acct_" + acct_id + "_at");
|
var at = localStorage.getItem("acct_" + acct_id + "_at");
|
||||||
var start = "https://" + domain + "/api/v2/search?resolve=true&q=" + user;
|
var start = "https://" + domain + "/api/v2/search?resolve=true&q=" + encodeURIComponent(user);
|
||||||
fetch(start, {
|
fetch(start, {
|
||||||
method: "GET",
|
method: "GET",
|
||||||
headers: {
|
headers: {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user