mirror of
https://github.com/usememos/memos.git
synced 2025-02-16 03:12:13 +01:00
chore: fix linter
This commit is contained in:
parent
d3235f75f3
commit
4070998f9f
@ -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…
x
Reference in New Issue
Block a user