Refactor (6)

This commit is contained in:
2026-02-24 22:30:04 +09:00
parent 9356ae18bc
commit 321731ad4b

View File

@@ -74,7 +74,7 @@ async function rephrase(text: string) {
const formatNote = (n: Note) => {
if (n.userId === me.id) {
return JSON.stringify({ text: n.text });
return JSON.stringify({ name: "あるびのちゃん", text: n.text });
}
return JSON.stringify({
name: n.user.name ?? n.user.username,