فهرست منبع

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