From 250c29edd262bb0abbb0003daff91f0c64b4768d Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Tue, 29 Dec 2020 12:09:51 +0100 Subject: [PATCH] tape: correctly sort media api entries --- src/api2/tape/media.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/api2/tape/media.rs b/src/api2/tape/media.rs index cf8c8931..02c9e843 100644 --- a/src/api2/tape/media.rs +++ b/src/api2/tape/media.rs @@ -317,6 +317,11 @@ pub fn list_content( } const SUBDIRS: SubdirMap = &[ + ( + "content", + &Router::new() + .get(&API_METHOD_LIST_CONTENT) + ), ( "destroy", &Router::new() @@ -327,11 +332,6 @@ const SUBDIRS: SubdirMap = &[ &Router::new() .get(&API_METHOD_LIST_MEDIA) ), - ( - "content", - &Router::new() - .get(&API_METHOD_LIST_CONTENT) - ), ];