mirror of https://github.com/getmango/Mango.git
Fix schema for the `parents` field
This commit is contained in:
parent
293fb84e1d
commit
e9b1bccbc9
|
@ -47,7 +47,10 @@ struct APIRouter
|
|||
"mtime" => Int64,
|
||||
"entries" => ["entry"],
|
||||
"titles" => ["title"],
|
||||
"parents" => [String],
|
||||
"parents" => [{
|
||||
"title" => String,
|
||||
"id" => String,
|
||||
}],
|
||||
"title_percentages" => [Float64?],
|
||||
"entry_percentages" => [Float64?],
|
||||
}.merge(s %w(dir title id display_name cover_url)),
|
||||
|
|
Loading…
Reference in New Issue