Преглед изворни кода

使用请求中的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'],