Skip to content

Commit

Permalink
feat(badge): fixed badge detail
Browse files Browse the repository at this point in the history
  • Loading branch information
kumfo committed Aug 12, 2024
1 parent 61db21e commit 5c04bce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/service/badge/badge_award_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func (b *BadgeAwardService) GetBadgeAwardList(
return
}

resp = make([]*schema.GetBadgeAwardWithPageResp, 0, len(badgeAwardList))
resp = make([]*schema.GetBadgeAwardWithPageResp, len(badgeAwardList))

for i, badgeAward := range badgeAwardList {
var (
Expand Down

0 comments on commit 5c04bce

Please sign in to comment.