add 404 as replacements

This commit is contained in:
cutestnekoaqua 2023-03-18 12:09:43 +01:00
parent c5fda342e1
commit 624d3c399f
No known key found for this signature in database
GPG Key ID: 6BF0964A5069C1E0
1 changed files with 3 additions and 3 deletions

View File

@ -33,10 +33,10 @@ export function apiAccountMastodon(router: Router): void {
let acct = data.data;
acct.id = convertId(acct.id, IdType.MastodonId);
acct.url = `${BASE_URL}/@${acct.url}`;
acct.note = "";
acct.note = acct.note || "";
acct.avatar_static = acct.avatar;
acct.header = acct.header || "";
acct.header_static = acct.header || "";
acct.header = acct.header || "https://http.cat/404";
acct.header_static = acct.header || "https://http.cat/404";
acct.source = {
note: acct.note,
fields: acct.fields,