Fix: handle document notes user format api change (#5751)

This commit is contained in:
shamoon
2024-02-13 09:25:35 -08:00
committed by GitHub
parent 907b6d1294
commit d83bbdc50b
4 changed files with 41 additions and 14 deletions

View File

@@ -95,12 +95,12 @@ const doc: Document = {
{
created: new Date(),
note: 'note 1',
user: 1,
user: { id: 1, username: 'user1' },
},
{
created: new Date(),
note: 'note 2',
user: 2,
user: { id: 2, username: 'user2' },
},
],
custom_fields: [