Skip to content

Commit

Permalink
CC-34148 Fixes after CR
Browse files Browse the repository at this point in the history
  • Loading branch information
AsonUnique committed Sep 5, 2024
1 parent 64a205c commit 241c614
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@

class AmazonQuicksightConfig extends AbstractBundleConfig
{
/**
* @var string
*/
protected const QUICKSIGHT_REGISTER_USER_NAMESPACE = 'spryker-test';

/**
* @var string
*/
Expand Down Expand Up @@ -92,7 +87,7 @@ public function getAwsAccountId(): string
*
* @return string
*/
public function getQuicksightNamespace(): string
public function getAwsQuicksightNamespace(): string
{
return $this->get(AmazonQuicksightConstants::AWS_QUICKSIGHT_NAMESPACE);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ protected function createQuicksightUserRegisterRequestTransfer(): QuicksightUser
return (new QuicksightUserRegisterRequestTransfer())
->setIdentityType(static::QUICKSIGHT_USER_IDENTITY_TYPE)
->setAwsAccountId($this->amazonQuicksightConfig->getAwsAccountId())
->setNamespace($this->amazonQuicksightConfig->getQuicksightNamespace());
->setNamespace($this->amazonQuicksightConfig->getAwsQuicksightNamespace());
}

/**
Expand All @@ -316,7 +316,7 @@ protected function createQuicksightUserDeleteRequestTransfer(): QuicksightDelete
{
return (new QuicksightDeleteUserRequestTransfer())
->setAwsAccountId($this->amazonQuicksightConfig->getAwsAccountId())
->setNamespace($this->amazonQuicksightConfig->getQuicksightNamespace());
->setNamespace($this->amazonQuicksightConfig->getAwsQuicksightNamespace());
}

/**
Expand All @@ -326,6 +326,6 @@ protected function createQuicksightListUsersRequestDataTransfer(): QuicksightLis
{
return (new QuicksightListUsersRequestTransfer())
->setAwsAccountId($this->amazonQuicksightConfig->getAwsAccountId())
->setNamespace($this->amazonQuicksightConfig->getQuicksightNamespace());
->setNamespace($this->amazonQuicksightConfig->getAwsQuicksightNamespace());
}
}

0 comments on commit 241c614

Please sign in to comment.