aboutsummaryrefslogtreecommitdiff
path: root/pkg/api
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/api')
-rw-r--r--pkg/api/api0/accounts.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/api0/accounts.go b/pkg/api/api0/accounts.go
index c70768a..d3fc120 100644
--- a/pkg/api/api0/accounts.go
+++ b/pkg/api/api0/accounts.go
@@ -37,7 +37,7 @@ func (h *Handler) handleAccountsWritePersistence(w http.ResponseWriter, r *http.
return
}
- pf, pfHdr, err := r.FormFile("file.pdata")
+ pf, pfHdr, err := r.FormFile("pdata")
if err != nil {
respJSON(w, r, http.StatusNotFound, map[string]any{
"success": false,