Skip to content

Commit

Permalink
fix old bug
Browse files Browse the repository at this point in the history
  • Loading branch information
wxiaoguang committed Apr 26, 2023
1 parent 666b5b2 commit 77b426e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/context/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ func RepoRefForAPI(next http.Handler) http.Handler {
}
ctx.Repo.Commit = commit
ctx.Repo.TreePath = ctx.Params("*")
next.ServeHTTP(w, req)
return
}

Expand Down

0 comments on commit 77b426e

Please sign in to comment.