From a1f848d423d1ac1fda137580547ef68f99474645 Mon Sep 17 00:00:00 2001 From: Sam Therapy Date: Mon, 9 Jan 2023 19:28:04 +0100 Subject: [PATCH] nit: fix comment to make correct Signed-off-by: Sam Therapy --- internal/api/zone.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/api/zone.go b/internal/api/zone.go index 8f6cbf1..ad44d39 100644 --- a/internal/api/zone.go +++ b/internal/api/zone.go @@ -36,7 +36,7 @@ func RecieveFile(w http.ResponseWriter, r *http.Request) { var buf bytes.Buffer - r.Body = http.MaxBytesReader(w, r.Body, 1*1024*1024) // approx 500 kb max upload + r.Body = http.MaxBytesReader(w, r.Body, 1*1024*1024) // approx 1 mb max upload file, header, err := r.FormFile("file") if err != nil {