summaryrefslogtreecommitdiffstats
path: root/lib/Command
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2019-04-23 10:43:41 -0100
committerMaxence Lange <maxence@artificial-owl.com>2019-05-03 16:31:15 -0100
commit9b0fcf7d70aee638f92057c5f56692534311f92b (patch)
tree562d7928c9dbe2dcc6fb7db52d50d932f1c313b1 /lib/Command
parenta27ea99ff3ae7898c4e2cac394a45d95b2c6b3c9 (diff)
fixing some token issues
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Command')
-rw-r--r--lib/Command/NoteBoost.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Command/NoteBoost.php b/lib/Command/NoteBoost.php
index 8e54b0cd..ff1b85ae 100644
--- a/lib/Command/NoteBoost.php
+++ b/lib/Command/NoteBoost.php
@@ -135,7 +135,7 @@ class NoteBoost extends Base {
$actor = $this->accountService->getActorFromUserId($userId);
$this->noteService->setViewer($actor);
- $token = '';
+
if (!$input->getOption('unboost')) {
$activity = $this->boostService->create($actor, $noteId, $token);
} else {