add 404 as replacements
This commit is contained in:
parent
c5fda342e1
commit
624d3c399f
|
@ -33,10 +33,10 @@ export function apiAccountMastodon(router: Router): void {
|
||||||
let acct = data.data;
|
let acct = data.data;
|
||||||
acct.id = convertId(acct.id, IdType.MastodonId);
|
acct.id = convertId(acct.id, IdType.MastodonId);
|
||||||
acct.url = `${BASE_URL}/@${acct.url}`;
|
acct.url = `${BASE_URL}/@${acct.url}`;
|
||||||
acct.note = "";
|
acct.note = acct.note || "";
|
||||||
acct.avatar_static = acct.avatar;
|
acct.avatar_static = acct.avatar;
|
||||||
acct.header = acct.header || "";
|
acct.header = acct.header || "https://http.cat/404";
|
||||||
acct.header_static = acct.header || "";
|
acct.header_static = acct.header || "https://http.cat/404";
|
||||||
acct.source = {
|
acct.source = {
|
||||||
note: acct.note,
|
note: acct.note,
|
||||||
fields: acct.fields,
|
fields: acct.fields,
|
||||||
|
|
Loading…
Reference in New Issue