Skip to content

Commit

Permalink
Don't read VC information from devices anymore (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
elffjs authored Jun 17, 2024
1 parent 66ebb8d commit 10478a1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions internal/services/rewards.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,12 +258,6 @@ func (t *BaselineClient) assignPoints() error {
continue
}

if vc := ud.LatestVinCredential; vc == nil {
logger.Debug().Msg("Earning vehicle has never had a VIN credential.")
} else if !vc.Expiration.AsTime().After(weekEnd) {
logger.Debug().Msgf("Earning vehicle's VIN credential expired on %s.", vc.Expiration.AsTime())
}

// Streak rewards.
streakInput := StreakInput{
ConnectedThisWeek: true,
Expand Down

0 comments on commit 10478a1

Please sign in to comment.