visuddhinanda 2 роки тому
батько
коміт
b7bd7bff9b
1 змінених файлів з 1 додано та 0 видалено
  1. 1 0
      app/Http/Resources/VocabularyResource.php

+ 1 - 0
app/Http/Resources/VocabularyResource.php

@@ -21,6 +21,7 @@ class VocabularyResource extends JsonResource
         return [
             "word"=>$this['word'],
             "count"=> $this['count'],
+            "strlen"=> $this['strlen'],
             "meaning"=> $dictMeaning->get($this['word'],$request->get("lang","zh-Hans")),
         ];
     }