diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2019-04-19 07:50:05 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2019-05-03 16:31:15 -0100 |
commit | 2fb50cbefbe45d0aebeabcbf190a44e6438bed40 (patch) | |
tree | b5d51132cd2892dcc8f5e969164cabf8d1bf5f74 /lib/Command | |
parent | 47b22680211ba56cf95dee74402fab6394c834fd (diff) |
fix token creation
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Command')
-rw-r--r-- | lib/Command/NoteBoost.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Command/NoteBoost.php b/lib/Command/NoteBoost.php index ff9be421..942f95de 100644 --- a/lib/Command/NoteBoost.php +++ b/lib/Command/NoteBoost.php @@ -117,7 +117,7 @@ class NoteBoost extends Base { $this->setName('social:note:boost') ->addArgument('userid', InputArgument::REQUIRED, 'userId of the author') ->addArgument('note', InputArgument::REQUIRED, 'Note to boost') - ->addOption('unboost', '',InputOption::VALUE_NONE, 'Unboost') + ->addOption('unboost', '', InputOption::VALUE_NONE, 'Unboost') ->setDescription('Boost a note'); } @@ -138,7 +138,7 @@ class NoteBoost extends Base { if (!$input->getOption('unboost')) { $activity = $this->boostService->create($actor, $noteId, $token); } else { - $activity= $this->boostService->delete($actor, $noteId, $token); + $activity = $this->boostService->delete($actor, $noteId, $token); } echo 'object: ' . json_encode($activity, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES) . "\n"; |