MSP-2243 update linter

This commit is contained in:
gr-dv authored and d1slike committed 2023-10-18 13:24:50 +03:00
1 parent 3beb23d4de
commit f3bc3ce657
12 files changed
+158 -160

No files matched your search

+2 -2
View File
@@ -135,7 +135,7 @@ func (a Auth) Login(ctx context.Context, request domain.LoginRequest) (*domain.L
})
if err != nil {
return nil, err
return nil, errors.WithMessage(err, "auth transaction")
}
return &domain.LoginResponse{
@@ -208,7 +208,7 @@ func (a Auth) LoginWithSudir(ctx context.Context, request domain.LoginSudirReque
return nil
})
if err != nil {
return nil, err
return nil, errors.WithMessage(err, "auth transaction")
}
a.auditService.SaveAuditAsync(ctx, user.Id, "Успешный вход через СУДИР", entity.EventSuccessLogin)