tink_web
tink_web copied to clipboard
Error message for missing param
I have this route:
@:post('/$performerId/upload')
@:params(file in body)
@async public function uploadFile(performerId:Int, file:FormFile):Noise {
While testing uploading using a simple html file with an upload form, I've gave the wrong name to the file input. The error message I got from the server was: "Missing value for file for file" I suppose that's one "for file" too many?
Seems to work fine now.
Oh ... maybe not ^^