🐛 Fix account rewind service using wrong endpoint to call other services
This commit is contained in:
@@ -25,7 +25,7 @@ public class AccountRewindService(
|
|||||||
var httpClient = httpClientFactory.CreateClient(
|
var httpClient = httpClientFactory.CreateClient(
|
||||||
$"{nameof(AccountRewindService)}+{CapitalizeFirstLetter(serviceId)}"
|
$"{nameof(AccountRewindService)}+{CapitalizeFirstLetter(serviceId)}"
|
||||||
);
|
);
|
||||||
var channel = GrpcChannel.ForAddress($"http://{serviceId}", new GrpcChannelOptions { HttpClient = httpClient });
|
var channel = GrpcChannel.ForAddress($"https://_grpc.{serviceId}", new GrpcChannelOptions { HttpClient = httpClient });
|
||||||
return new RewindService.RewindServiceClient(channel);
|
return new RewindService.RewindServiceClient(channel);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user