mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-28 06:05:31 +03:00
Add quotes around field name in error message.
This commit is contained in:
parent
f21b8b61b1
commit
0cd9a56675
@ -472,7 +472,7 @@ formField_ name =
|
||||
( Ok justValue, [] )
|
||||
|
||||
Nothing ->
|
||||
( Err (ValidationError ("Missing form field " ++ name)), [] )
|
||||
( Err (ValidationError ("Missing form field '" ++ name ++ "'")), [] )
|
||||
)
|
||||
|> Request
|
||||
|
||||
|
@ -120,7 +120,7 @@ Expecting an OBJECT with a field named `first`
|
||||
|
||||
(3) Missing query param "first"
|
||||
|
||||
(4) Missing form field first
|
||||
(4) Missing form field 'first'
|
||||
Expected content-type to be multipart/form-data but it was application/x-www-form-urlencoded
|
||||
Expected HTTP method POST but was GET"""
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user