Skip to content

Commit

Permalink
chore: fix router of the insight (#701)
Browse files Browse the repository at this point in the history
  • Loading branch information
xingwanying authored Jan 20, 2025
1 parent 205e146 commit bee2c37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/insight/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def get_pr_insight(repo_name: str):
return json.dumps({"success": False, "message": str(e)})


@router.get("code_change")
@router.get("/code_change")
def get_code_change_insight(repo_name: str):
try:
result = get_code_changes(repo_name)
Expand Down

0 comments on commit bee2c37

Please sign in to comment.