chore (minor, backend): use a template literal
This commit is contained in:
parent
884c69f377
commit
74875f174b
1 changed files with 1 additions and 1 deletions
|
@ -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 || ""}`,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue