diff options
| author | pg9182 <96569817+pg9182@users.noreply.github.com> | 2022-10-14 17:28:21 -0400 |
|---|---|---|
| committer | pg9182 <96569817+pg9182@users.noreply.github.com> | 2022-10-14 17:28:21 -0400 |
| commit | 72c2467e8ea056261110d89e6590168ef8d25ffc (patch) | |
| tree | 6bca29d1343bda6e27aee9fc0236c8b25c4e10c1 /pkg | |
| parent | 6c595de7e166be7154f3524b8c24818e2e88b78d (diff) | |
| download | Atlas-72c2467e8ea056261110d89e6590168ef8d25ffc.tar.gz Atlas-72c2467e8ea056261110d89e6590168ef8d25ffc.zip | |
pkg/api/api0: /accounts/write_persistence field name is pdata
Although the filename is file.pdata.
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/api/api0/accounts.go | 2 |
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, |
