chore: update golangci-lint to 1.61.0.

This commit is contained in:
Xavier Michelon
2024-10-09 12:40:22 +02:00
parent b481ce2203
commit bee2642aec
15 changed files with 29 additions and 24 deletions

View File

@ -105,10 +105,10 @@ func (s *Service) CheckAuth(ctx context.Context, email string, password []byte)
func (s *Service) HandleUsedSpaceEvent(ctx context.Context, newSpace int64) error {
s.log.Info("Handling User Space Changed event")
if s.identity.OnUserSpaceChanged(uint64(newSpace)) {
if s.identity.OnUserSpaceChanged(uint64(newSpace)) { //nolint:gosec // disable G115
s.eventPublisher.PublishEvent(ctx, events.UsedSpaceChanged{
UserID: s.identity.User.ID,
UsedSpace: uint64(newSpace),
UsedSpace: uint64(newSpace), //nolint:gosec // disable G115
})
}