Explorar o código

"type" => __('labels.'

visuddhinanda hai 10 meses
pai
achega
411ba7d9b7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      api-v8/app/Http/Controllers/CategoryController.php

+ 1 - 1
api-v8/app/Http/Controllers/CategoryController.php

@@ -115,7 +115,7 @@ class CategoryController extends Controller
                 "title" => $title,
                 "author" => $book->channel->name,
                 "publisher" => $book->channel->owner->nickname,
-                "type" => __('label.' . $book->channel->type),
+                "type" => __('labels.' . $book->channel->type),
                 "category_id" => $id,
                 "cover" => "/assets/images/cover/1/214.jpg",
                 "description" => $book->summary ?? "比库戒律的详细说明",