Clean up
This commit is contained in:
@ -178,12 +178,11 @@ export class NoteRepository extends Repository<Note> {
|
||||
name: In(reactionEmojis),
|
||||
host: host
|
||||
}) : [],
|
||||
tags: note.tags,
|
||||
fileIds: note.fileIds,
|
||||
files: DriveFiles.packMany(note.fileIds),
|
||||
replyId: note.replyId,
|
||||
renoteId: note.renoteId,
|
||||
uri: note.uri,
|
||||
uri: note.uri || undefined,
|
||||
|
||||
...(opts.detail ? {
|
||||
reply: note.replyId ? this.pack(note.replyId, meId, {
|
||||
|
Reference in New Issue
Block a user