From e0a7867e7e1f393fdbbfd08d56aa96b379ad6a8f Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sat, 4 May 2024 17:58:50 +0800 Subject: [PATCH] revert unnecessary change --- routers/web/repo/pull.go | 1 + 1 file changed, 1 insertion(+) diff --git a/routers/web/repo/pull.go b/routers/web/repo/pull.go index 3a06d0f5ea..86cec004c1 100644 --- a/routers/web/repo/pull.go +++ b/routers/web/repo/pull.go @@ -1327,6 +1327,7 @@ func CompareAndPullRequestPost(ctx *context.Context) { } ctx.JSONError(flashError) } + return } if projectID > 0 {