Skip to content

Commit 8576c5b

Browse files
Update routers/web/repo/search.go
Co-authored-by: Zettat123 <[email protected]>
1 parent 3628faa commit 8576c5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/web/repo/search.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func Search(ctx *context.Context) {
8181
}
8282
commitID, err := ctx.Repo.GitRepo.GetRefCommitID(searchRefName.String())
8383
if err != nil {
84-
ctx.ServerError("GrepSearch", err)
84+
ctx.ServerError("GetRefCommitID", err)
8585
return
8686
}
8787
total = len(res)

0 commit comments

Comments
 (0)