Skip to content

Commit

Permalink
fix: tag null when load tags
Browse files Browse the repository at this point in the history
  • Loading branch information
JingYiJun committed Apr 2, 2024
1 parent f5d00b4 commit 94c81c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions models/hole.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ func loadTags(holes Holes) (err error) {
// remove sensitive tags
if !tag.Sensitive() {
tagMap[tag.ID] = tag
} else {
delete(tagMap, tag.ID)
}
}

Expand Down

0 comments on commit 94c81c2

Please sign in to comment.