don't publish null updated property

This commit is contained in:
Hazelnoot 2025-06-18 12:54:22 -04:00
parent 72a512a59d
commit 969fdc037c

View file

@ -545,7 +545,7 @@ export class ApRendererService {
attributedTo, attributedTo,
summary: summary ?? undefined, summary: summary ?? undefined,
content: content ?? undefined, content: content ?? undefined,
updated: note.updatedAt?.toISOString(), updated: note.updatedAt?.toISOString() ?? undefined,
_misskey_content: text, _misskey_content: text,
source: { source: {
content: text, content: text,