tape: correctly sort media api entries
This commit is contained in:
parent
c431659d05
commit
250c29edd2
@ -317,6 +317,11 @@ pub fn list_content(
|
|||||||
}
|
}
|
||||||
|
|
||||||
const SUBDIRS: SubdirMap = &[
|
const SUBDIRS: SubdirMap = &[
|
||||||
|
(
|
||||||
|
"content",
|
||||||
|
&Router::new()
|
||||||
|
.get(&API_METHOD_LIST_CONTENT)
|
||||||
|
),
|
||||||
(
|
(
|
||||||
"destroy",
|
"destroy",
|
||||||
&Router::new()
|
&Router::new()
|
||||||
@ -327,11 +332,6 @@ const SUBDIRS: SubdirMap = &[
|
|||||||
&Router::new()
|
&Router::new()
|
||||||
.get(&API_METHOD_LIST_MEDIA)
|
.get(&API_METHOD_LIST_MEDIA)
|
||||||
),
|
),
|
||||||
(
|
|
||||||
"content",
|
|
||||||
&Router::new()
|
|
||||||
.get(&API_METHOD_LIST_CONTENT)
|
|
||||||
),
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user