mirror of
https://github.com/usememos/memos.git
synced 2025-09-14 01:34:49 +08:00
chore: fix memo converter
This commit is contained in:
parent
65da94521d
commit
d9d6f73330
1 changed files with 1 additions and 1 deletions
|
@ -38,9 +38,9 @@ func (s *APIV1Service) convertMemoFromStore(ctx context.Context, memo *store.Mem
|
|||
Content: memo.Content,
|
||||
Visibility: convertVisibilityFromStore(memo.Visibility),
|
||||
Pinned: memo.Pinned,
|
||||
Tags: memo.Payload.Tags,
|
||||
}
|
||||
if memo.Payload != nil {
|
||||
memoMessage.Tags = memo.Payload.Tags
|
||||
memoMessage.Property = convertMemoPropertyFromStore(memo.Payload.Property)
|
||||
memoMessage.Location = convertLocationFromStore(memo.Payload.Location)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue