-
Notifications
You must be signed in to change notification settings - Fork 577
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OHRM5X-782: Installer Send Registration Data #1258
Conversation
@@ -35,7 +35,7 @@ class DataRegistrationService | |||
private function getHttpClient(): Client | |||
{ | |||
if (!isset($this->apiClient)) { | |||
$this->apiClient = new Client(['base_uri' => Config::REGISTRATION_BETA_URL]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was my mistake to commit beta url. I removed it.
@@ -35,7 +35,7 @@ class DataRegistrationService | |||
private function getHttpClient(): Client | |||
{ | |||
if (!isset($this->apiClient)) { | |||
$this->apiClient = new Client(['base_uri' => Config::REGISTRATION_BETA_URL]); | |||
$this->apiClient = new Client(['base_uri' => Config::REGISTRATION_URL]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed the beta url
]; | ||
} | ||
|
||
protected function sendRegistrationData() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add doc comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return type
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is outdated. I have fixed it already
@@ -35,7 +35,7 @@ class DataRegistrationService | |||
private function getHttpClient(): Client | |||
{ | |||
if (!isset($this->apiClient)) { | |||
$this->apiClient = new Client(['base_uri' => Config::REGISTRATION_BETA_URL]); | |||
$this->apiClient = new Client(['base_uri' => Config::REGISTRATION_URL]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
refactor the name into httpClient
This PR contains:-