enhance: 各ノートが被クリップ数を保持するようにし、無意味にnotes/clipsを叩かないように

This commit is contained in:
syuilo 2023-09-17 10:55:26 +09:00
parent 907d519da3
commit f7c6932a83
9 changed files with 48 additions and 7 deletions

View file

@ -340,6 +340,8 @@ export class NoteEntityService implements OnModuleInit {
url: note.url ?? undefined,
...(opts.detail ? {
clippedCount: note.clippedCount,
reply: note.replyId ? this.pack(note.reply ?? note.replyId, me, {
detail: false,
_hint_: options?._hint_,