tape: proxmox-tape - use API instead of direct functions calls

This commit is contained in:
Dietmar Maurer
2021-01-29 11:49:11 +01:00
parent e68269fcaf
commit c297835b01
2 changed files with 81 additions and 84 deletions

View File

@ -1180,12 +1180,12 @@ pub const SUBDIRS: SubdirMap = &sorted!([
(
"barcode-label-media",
&Router::new()
.put(&API_METHOD_BARCODE_LABEL_MEDIA)
.post(&API_METHOD_BARCODE_LABEL_MEDIA)
),
(
"catalog",
&Router::new()
.put(&API_METHOD_CATALOG_MEDIA)
.post(&API_METHOD_CATALOG_MEDIA)
),
(
"clean",