From 351b21f55333232ac1fdca324decb7b41ce3051e Mon Sep 17 00:00:00 2001 From: Nicolas CARON <106981664+Nickos0695@users.noreply.github.com> Date: Tue, 17 Jun 2025 10:10:08 +0200 Subject: [PATCH] edit diags --- handlers/application/diags.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/handlers/application/diags.go b/handlers/application/diags.go index 8d0bda4..5ffeb86 100644 --- a/handlers/application/diags.go +++ b/handlers/application/diags.go @@ -429,10 +429,10 @@ func (h *ApplicationHandler) DiagsDisplayDiag(w http.ResponseWriter, r *http.Req documents := h.filestorage.List(filestorage.PREFIX_DIAGS + "/" + diagid) - events_file_types := h.config.GetStringSlice("modules.diags.documents_types") + diags_file_types := h.config.GetStringSlice("modules.diags.documents_types") file_types_map := h.config.GetStringMapString("storage.files.file_types") - h.Renderer.DiagsDisplayDiag(w, r, resp.Diag.ToStorageType(), events_file_types, file_types_map, documents) + h.Renderer.DiagsDisplayDiag(w, r, resp.Diag.ToStorageType(), diags_file_types, file_types_map, documents) } func parseDiagsForm(r *http.Request) (*DiagsForm, error) {