Merge branch 'StCyr_fix617' of https://github.com/StCyr/social into StCyr_fix617

pull/621/head
Cyrille Bollu 2019-07-10 18:44:56 +02:00
commit 3d1aba30a9
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -129,9 +129,9 @@ class LikeService {
throw new StreamNotFoundException('Stream is not a Note');
}
if (!$note->isPublic()) {
throw new StreamNotFoundException('Stream is not Public');
}
// if (!$note->isPublic()) {
// throw new StreamNotFoundException('Stream is not Public');
// }
$like->setObjectId($note->getId());
$this->assignInstance($like, $actor, $note);