Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
isthaison committed Dec 3, 2024
1 parent 6e7d3f6 commit 5d8f9d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/apps/sdk/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ def delete(tenant_id,chat_id):
return get_result()

@manager.route('/sessions/ask', methods=['POST']) # type: ignore
@token_require
@token_required
def ask_about(tenant_id):
req = request.json
if not req.get("question"):
Expand Down

0 comments on commit 5d8f9d2

Please sign in to comment.