Skip to content

Commit

Permalink
UHF-8525: Fixed argument name
Browse files Browse the repository at this point in the history
  • Loading branch information
tuutti committed Sep 8, 2023
1 parent 530bdd4 commit 19e314b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Commands/ApiAccountCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@ public function reveal(string $value) : int {
#[Option(name: 'plugin', description: 'The plugin')]
#[Option(name: 'data', description: 'The data.')]
public function update(array $options = [
'value' => NULL,
'file' => NULL,
'type' => NULL,
'id' => NULL,
'plugin' => NULL,
'data' => NULL,
]) : int {
$type = $this->askType($options['type']);

if ($options['filename']) {
$value = file_get_contents($options['filename']);
if ($options['file']) {
$value = file_get_contents($options['file']);
}
else {
$value = $this->io()->ask('The base64 and JSON encoded secret value');
Expand Down

0 comments on commit 19e314b

Please sign in to comment.