src/api2/admin/datastore/backup.rs: suse POST for finish() api

This commit is contained in:
Dietmar Maurer 2019-05-22 13:04:58 +02:00
parent de6742c04f
commit a55fcd740f

View File

@ -160,7 +160,7 @@ fn backup_api() -> Router {
)
.subdir(
"finish", Router::new()
.get(
.post(
ApiMethod::new(
finish_backup,
ObjectSchema::new("Mark backup as finished.")