From fa7864491823e88b3efc39858b69dde349a6e757 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Wed, 5 Aug 2026 03:19:37 -0500 Subject: [PATCH] refac --- cptr/routers/git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cptr/routers/git.py b/cptr/routers/git.py index 397f85c..97683df 100644 --- a/cptr/routers/git.py +++ b/cptr/routers/git.py @@ -265,7 +265,7 @@ async def git_commit(body: CommitRequest): @router.post("/message") -async def generate_commit_message(body: CommitMessageRequest, request: Request): +async def generate_commit_message(request: Request, body: CommitMessageRequest): """Generate a commit summary and description from the staged diff.""" await _require_repo(body.root) try: