visuddhinanda 3 лет назад
Родитель
Сommit
2b03b1011d
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      app/Http/Resources/SentPrResource.php

+ 1 - 0
app/Http/Resources/SentPrResource.php

@@ -25,6 +25,7 @@ class SentPrResource extends JsonResource
             $role = 'owner';
         }
         $channel = ChannelApi::getById($this->channel_uid);
+        $mode = $request->get("mode",'read');
         return [
             "id"=>$this->id,
             "book"=> $this->book_id,