mirror of
https://github.com/usememos/memos.git
synced 2025-01-04 03:23:02 +08:00
chore: fix linter
This commit is contained in:
parent
d3235f75f3
commit
4070998f9f
1 changed files with 0 additions and 1 deletions
|
@ -797,7 +797,6 @@ func (s *APIV1Service) convertMemoFromStore(ctx context.Context, memo *store.Mem
|
|||
memoMessage.Property = convertMemoPropertyFromStore(memo.Payload.Property)
|
||||
}
|
||||
if memo.ParentID != nil {
|
||||
memoMessage.ParentId = memo.ParentID
|
||||
parent := fmt.Sprintf("%s%d", MemoNamePrefix, *memo.ParentID)
|
||||
memoMessage.Parent = &parent
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue