Chore: Remove bus from authinfoservice (#45787)

This commit is contained in:
Serge Zaitsev 2022-02-23 16:22:16 +01:00 committed by GitHub
parent e6a85826e9
commit c1239ee67c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,7 @@ func (s *AuthInfoStore) GetExternalUserInfoByLogin(ctx context.Context, query *m
}
authInfoQuery := &models.GetAuthInfoQuery{UserId: userQuery.Result.Id}
if err := s.bus.Dispatch(ctx, authInfoQuery); err != nil {
if err := s.GetAuthInfo(ctx, authInfoQuery); err != nil {
return err
}