#1090 snapshot request via web fix params

This commit is contained in:
Oliver Gorwits
2023-08-11 10:28:38 +01:00
parent 21afacccc4
commit 3e1d6a1505

View File

@@ -84,7 +84,7 @@ ajax "/ajax/control/admin/snapshot_req" => require_role admin => sub {
if not schema(vars->{'tenant'})->resultset('SNMPObject')->count();
# will store for download and for browsing
add_job('snapshot', $device->addr, 'yes') or send_error('Bad device', 400);
add_job('snapshot', $device->addr, undef, 'db') or send_error('Bad device', 400);
};
get "/ajax/content/admin/snapshot_get" => require_role admin => sub {