Skip to content

Commit

Permalink
chore: remove debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakShearman committed Apr 8, 2024
1 parent fab9fab commit b44a044
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions internal/app/badge/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
"go.uber.org/zap"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
"log"
"mc-player-service/internal/config"
"mc-player-service/internal/repository"
)
Expand Down Expand Up @@ -143,8 +142,6 @@ func (s *serviceImpl) SetActiveBadge(ctx context.Context, playerID uuid.UUID, ba
return fmt.Errorf("failed to get player badge: %w", err)
}

log.Printf("Looping badges: %+v", player.BadgeIDs)
log.Printf("Looking for badge: %s", badgeID)
for _, loopBadgeID := range player.BadgeIDs {
if loopBadgeID == badgeID {
if err := s.repo.SetActivePlayerBadge(ctx, playerID, &badgeID); err != nil {
Expand Down

0 comments on commit b44a044

Please sign in to comment.