mirror of
https://github.com/hkalexling/Mango.git
synced 2026-05-01 00:00:55 -04:00
Fix schema for the parents field
This commit is contained in:
+4
-1
@@ -47,7 +47,10 @@ struct APIRouter
|
|||||||
"mtime" => Int64,
|
"mtime" => Int64,
|
||||||
"entries" => ["entry"],
|
"entries" => ["entry"],
|
||||||
"titles" => ["title"],
|
"titles" => ["title"],
|
||||||
"parents" => [String],
|
"parents" => [{
|
||||||
|
"title" => String,
|
||||||
|
"id" => String,
|
||||||
|
}],
|
||||||
"title_percentages" => [Float64?],
|
"title_percentages" => [Float64?],
|
||||||
"entry_percentages" => [Float64?],
|
"entry_percentages" => [Float64?],
|
||||||
}.merge(s %w(dir title id display_name cover_url)),
|
}.merge(s %w(dir title id display_name cover_url)),
|
||||||
|
|||||||
Reference in New Issue
Block a user