forked from Silverfish/proton-bridge
chore: update golangci-lint to 1.61.0.
This commit is contained in:
@ -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
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user