We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
sc-web/server/handlers/api.py
Lines 78 to 79 in 223e9d2
The lang_addr variable is declared only in case of lang_arg's existence, but is referenced later regardless.
lang_addr
lang_arg
Lines 123 to 124 in 223e9d2
To Reproduce Steps to reproduce the behavior:
/api/question/answer/translate/
lang
Expected behavior Either a success response or a response indicating that "lang is a required parameter" or "some required parameters are missing".
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
sc-web/server/handlers/api.py
Lines 78 to 79 in 223e9d2
The
lang_addr
variable is declared only in case oflang_arg
's existence, but is referenced later regardless.sc-web/server/handlers/api.py
Lines 123 to 124 in 223e9d2
To Reproduce
Steps to reproduce the behavior:
/api/question/answer/translate/
with nolang
parameter passed.Expected behavior
Either a success response or a response indicating that "lang is a required parameter" or "some required parameters are missing".
The text was updated successfully, but these errors were encountered: