chore (minor, backend): use a template literal

This commit is contained in:
naskya 2024-04-15 04:34:36 +09:00
parent 884c69f377
commit 74875f174b
No known key found for this signature in database
GPG Key ID: 712D413B3A9FED5C
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ export function parse(acct: any): Post {
cw: acct.cw,
localOnly: acct.localOnly,
createdAt: new Date(acct.createdAt),
visibility: "hidden" + (acct.visibility || ""),
visibility: `hidden${acct.visibility || ""}`,
};
}