mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Fixes csv download (#6618)
This commit is contained in:
parent
506426c3b8
commit
784609a9f0
2 changed files with 2 additions and 6 deletions
|
|
@ -22,7 +22,7 @@ local res = {}
|
|||
|
||||
local ifid = _GET["ifid"]
|
||||
local format = _GET["format"] or "json"
|
||||
local no_html = (format == "txt")
|
||||
local no_html = (format == "csv")
|
||||
|
||||
if not auth.has_capability(auth.capabilities.alerts) then
|
||||
rest_utils.answer(rest_utils.consts.err.not_granted)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue