diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2019-04-23 10:43:41 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2019-05-03 16:31:15 -0100 |
commit | 9b0fcf7d70aee638f92057c5f56692534311f92b (patch) | |
tree | 562d7928c9dbe2dcc6fb7db52d50d932f1c313b1 /lib/Command | |
parent | a27ea99ff3ae7898c4e2cac394a45d95b2c6b3c9 (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.php | 2 |
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 { |