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,
summary: summary ?? undefined,
content: content ?? undefined,
updated: note.updatedAt?.toISOString(),
updated: note.updatedAt?.toISOString() ?? undefined,
_misskey_content: text,
source: {
content: text,