2
0
visuddhinanda 2 жил өмнө
parent
commit
fd3f14926a

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

@@ -58,7 +58,9 @@ class SentResource extends JsonResource
                                              null,
                                              $mode,
                                              $channel['type'],
-                                             $this->content_type);
+                                             $this->content_type,
+                                             $request->get('format','react')
+                                            );
         }
         if($request->get('mode') === "edit" || $request->get('mode') === "wbw"){
             $data['suggestionCount'] = SuggestionApi::getCountBySent($this->book_id,