Skip to content

Commit

Permalink
Remove incorrect usage of companyName.
Browse files Browse the repository at this point in the history
  • Loading branch information
mxr576 committed May 9, 2018
1 parent cb7bc74 commit 688d137
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
class DeveloperAppCredentialController extends AppCredentialController implements DeveloperAppCredentialControllerInterface
{
/** @var string Developer email or id. */
protected $companyName;
protected $developerId;

/** @var string App name. */
protected $appName;
Expand All @@ -48,7 +48,7 @@ public function __construct(
ClientInterface $client,
array $entityNormalizers = []
) {
$this->companyName = $developerId;
$this->developerId = $developerId;
parent::__construct($organization, $appName, $client, $entityNormalizers);
}

Expand All @@ -57,7 +57,7 @@ public function __construct(
*/
protected function getBaseEndpointUri(): UriInterface
{
return $this->client->getUriFactory()->createUri("/organizations/{$this->organization}/developers/{$this->companyName}/apps/{$this->appName}");
return $this->client->getUriFactory()->createUri("/organizations/{$this->organization}/developers/{$this->developerId}/apps/{$this->appName}");
}

/**
Expand Down

0 comments on commit 688d137

Please sign in to comment.