Commit 606cf6a9 authored by Leo Koppelkamm's avatar Leo Koppelkamm

Fix API typo

parent ba9065ca
...@@ -138,7 +138,7 @@ function show_system_backup() { ...@@ -138,7 +138,7 @@ function show_system_backup() {
function show_custom_backup() { function show_custom_backup() {
api( api(
"/system/backup/custom", "/system/backup/config",
"GET", "GET",
{ }, { },
function(r) { function(r) {
...@@ -159,7 +159,7 @@ function set_custom_backup() { ...@@ -159,7 +159,7 @@ function set_custom_backup() {
var target_pass = $("#target-pass").val(); var target_pass = $("#target-pass").val();
var min_age = $("#min-age").val(); var min_age = $("#min-age").val();
api( api(
"/system/backup/custom", "/system/backup/config",
"POST", "POST",
{ {
target: target, target: target,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment