enhance: 編集されたノートかどうか分かるように
This commit is contained in:
parent
c106db89e1
commit
2438c047a7
12 changed files with 34 additions and 2 deletions
|
@ -308,6 +308,7 @@ export class NoteEntityService implements OnModuleInit {
|
|||
const packed: Packed<'Note'> = await awaitAll({
|
||||
id: note.id,
|
||||
createdAt: note.createdAt.toISOString(),
|
||||
updatedAt: note.updatedAt ? note.updatedAt.toISOString() : undefined,
|
||||
userId: note.userId,
|
||||
user: this.userEntityService.pack(note.user ?? note.userId, me, {
|
||||
detail: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue