Skip to content

Commit 16370d6

Browse files
mbaludaCopilot
andauthored
Update python/ql/test/experimental/query-tests/Security/CWE-1427-PromptInjection/openai_test.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 3c14266 commit 16370d6

File tree

1 file changed

+1
-1
lines changed
  • python/ql/test/experimental/query-tests/Security/CWE-1427-PromptInjection

1 file changed

+1
-1
lines changed

python/ql/test/experimental/query-tests/Security/CWE-1427-PromptInjection/openai_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010
@app.route("/openai")
11-
def get_input_openai():
11+
async def get_input_openai():
1212
persona = request.args.get("persona")
1313
query = request.args.get("query")
1414
role = request.args.get("role")

0 commit comments

Comments
 (0)