upd: add backend for post editing
This commit is contained in:
parent
deb8f73127
commit
feec3c302b
16 changed files with 1310 additions and 2 deletions
|
|
@ -335,9 +335,10 @@ export class NoteEntityService implements OnModuleInit {
|
|||
color: channel.color,
|
||||
isSensitive: channel.isSensitive,
|
||||
} : undefined,
|
||||
mentions: note.mentions.length > 0 ? note.mentions : undefined,
|
||||
mentions: note.mentions && note.mentions.length > 0 ? note.mentions : undefined,
|
||||
uri: note.uri ?? undefined,
|
||||
url: note.url ?? undefined,
|
||||
updatedAt: note.updatedAt != null ? note.updatedAt.toISOString() : undefined,
|
||||
|
||||
...(opts.detail ? {
|
||||
clippedCount: note.clippedCount,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue