bug fix for AddToList and RemoveFromList

This commit is contained in:
Rasmus Lindroth 2022-12-30 11:44:05 +01:00
parent f54995fdf9
commit 2aa0406a44
2 changed files with 3 additions and 3 deletions

View file

@ -235,7 +235,7 @@ func TestAddToList(t *testing.T) {
http.Error(w, http.StatusText(http.StatusNotFound), http.StatusNotFound)
return
}
if r.PostFormValue("account_ids") != "1" {
if r.PostFormValue("account_ids[]") != "1" {
http.Error(w, http.StatusText(http.StatusInternalServerError), http.StatusInternalServerError)
return
}