Преглед на файлове

使用请求中的channel参数

visuddhinanda преди 2 години
родител
ревизия
fdba355485
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/Http/Resources/SentResource.php

+ 1 - 1
app/Http/Resources/SentResource.php

@@ -46,7 +46,7 @@ class SentResource extends JsonResource
         }
         if($request->get('html',true)){
             $data['html'] = MdRender::render($this->content,
-                                             [$this->channel_uid],
+                                             $channels,
                                              null,
                                              $mode,
                                              $channel['type'],