Skip to content

Commit

Permalink
Added code to avoid truncating accounts leading with zero
Browse files Browse the repository at this point in the history
  • Loading branch information
koti-buchepalli committed Sep 23, 2024
1 parent a452d39 commit 3300748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Helpers/Aws/Iam.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function authenticateWithMfaDevice($mfaDeviceArn, $code): array
];
}

public function assumeRole(int $accountId, string $role, string $sessionUser, ?string $mfaDevice = null, ?string $mfaCode = null): array
public function assumeRole(string $accountId, string $role, string $sessionUser, ?string $mfaDevice = null, ?string $mfaCode = null): array
{
$client = new StsClient($this->aws->standardSdkArguments());

Expand Down

0 comments on commit 3300748

Please sign in to comment.