|
@@ -40,7 +40,7 @@ func (service AuthService) GenerateJwtWithCredentials(
|
|
return NewServiceOutput(UserError, err.Error())
|
|
return NewServiceOutput(UserError, err.Error())
|
|
}
|
|
}
|
|
|
|
|
|
- loginDto := dto.NewLogin(username, password, ipAddress)
|
|
|
|
|
|
+ dto := dto.NewLogin(username, password, ipAddress)
|
|
|
|
|
|
authQueryRepo := authInfra.AuthQueryRepo{}
|
|
authQueryRepo := authInfra.AuthQueryRepo{}
|
|
authCmdRepo := authInfra.AuthCmdRepo{}
|
|
authCmdRepo := authInfra.AuthCmdRepo{}
|
|
@@ -50,7 +50,7 @@ func (service AuthService) GenerateJwtWithCredentials(
|
|
authQueryRepo,
|
|
authQueryRepo,
|
|
authCmdRepo,
|
|
authCmdRepo,
|
|
accQueryRepo,
|
|
accQueryRepo,
|
|
- loginDto,
|
|
|
|
|
|
+ dto,
|
|
)
|
|
)
|
|
if err != nil {
|
|
if err != nil {
|
|
return NewServiceOutput(InfraError, err.Error())
|
|
return NewServiceOutput(InfraError, err.Error())
|