src/api2/admin/datastore/backup.rs: suse POST for finish() api
This commit is contained in:
parent
de6742c04f
commit
a55fcd740f
@ -160,7 +160,7 @@ fn backup_api() -> Router {
|
||||
)
|
||||
.subdir(
|
||||
"finish", Router::new()
|
||||
.get(
|
||||
.post(
|
||||
ApiMethod::new(
|
||||
finish_backup,
|
||||
ObjectSchema::new("Mark backup as finished.")
|
||||
|
Loading…
Reference in New Issue
Block a user