🎨 Clean code

This commit is contained in:
Daniel 2024-10-21 10:34:46 +08:00
parent a1bc2753b7
commit 8b63066430
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -245,7 +245,6 @@ func GetBacklink2(id, keyword, mentionKeyword string, sortMode, mentionSortMode
linkRefs, linkRefsCount, excludeBacklinkIDs := buildLinkRefs(rootID, refs, keyword)
tmpBacklinks := toFlatTree(linkRefs, 0, "backlink", nil)
for _, l := range tmpBacklinks {
l.Blocks = nil
backlinks = append(backlinks, l)