FanvidDB / fanviddb-server

Server of the fanviddb
Other
0 stars 1 forks source link

Audio language error does not display (and audio language shouldn't be required) #49

Open sandalwoodbox opened 3 years ago

sandalwoodbox commented 3 years ago

If audio title and artist are provided, audio language should also required. However, it is currently required even if those are blank. Additionally, the error message that you get in this case isn't displayed, which is a confusing behavior.

Screen Shot 2021-05-01 at 6 01 11 PM

Response:

{"detail":[{"loc":["body","audio","language"],"msg":"field required","type":"value_error.missing"}]}
sandalwoodbox commented 1 year ago

I seem to be able to remove the audio language after creation - possibly this is a create-only error?