Fix API typo

This commit is contained in:
Leo Koppelkamm 2015-07-28 00:34:11 +02:00
parent ba9065cada
commit 606cf6a941
1 changed files with 2 additions and 2 deletions

View File

@ -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() {
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,