mirror of
https://github.com/OwO-Network/DeepLX.git
synced 2026-12-01 14:57:52 +00:00
d19a3902df9ff0a0abb0211ee2de5599c16d829a
The two handlers ignored the error from c.BindJSON, so a malformed JSON body was silently processed as an empty payload. Check the error and return 400, consistent with /v2/translate.
How to use
[!TIP]
Learn more about 📘 Using DeepLX by checking it out.
Discussion Group
Acknowledgements
Contributors
Activity
License
Languages
Go
94.7%
Shell
4.7%
Dockerfile
0.6%