Explorar el Código

:bug: 没有$mode

visuddhinanda hace 3 años
padre
commit
2b03b1011d
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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,