Skip to content
This repository has been archived by the owner on Jan 5, 2025. It is now read-only.

Commit

Permalink
Merge branch 'main' into flows-v2
Browse files Browse the repository at this point in the history
  • Loading branch information
gharbat committed Dec 5, 2023
2 parents cb44835 + c47dd3c commit 007677e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llm-server/routes/_swagger/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def get_swagger_files(swagger_url: str) -> Response:

@_swagger.route("/get/b/<bot_id>", methods=["GET"])
def get_swagger_files_by_bot_id(bot_id: str) -> Response:
swagger_file = mongo.swagger_files.find_one({"bot_id": bot_id})
swagger_file = mongo.swagger_files.find_one({"meta.bot_id": bot_id})
if not swagger_file:
return jsonify({"message": "Swagger file not found"}), 404
swagger_file["_id"] = str(swagger_file["_id"])
Expand Down

0 comments on commit 007677e

Please sign in to comment.