I will answer according to your considerations.
- The audio is in Portuguese, unfortunately my pronunciation in English is not satisfactory. But I will provide an audio in English to make it easier for you.
The issue of the error is just an oversight by the APP, I'll sort and send the commits. - Yes, I noticed this error after the commit. I even talked to a friend, I'll take more care from now on.
- I changed and I committed. Does it seem more useful now?
- I removed the route.
- Removed too.
- Removed personal and unnecessary testing.
- This information was to be treated also in bodyParse, I already arranged. But what happens is that it will fall on the Adonis throw, and will be sent in response.
- https://github.com/danielsalles/transcribere-api/blob/06cb81b27f11273f1869041eff562a7904d8fbc7/app/Controllers/Http/Speech/SpeechController.js#L43 => When I have an error the Google SDK will return me a throw. Adonis as magic checks the fired errors and returns in response.
I added a validator too (https://github.com/danielsalles/transcribere-api/commits/master).
I'm learning how things work here, I'm sorry I looked a bit sloppy at first. But I intend to take this project forward. Thanks for your feedback :)