summaryrefslogtreecommitdiffstats
path: root/cmd/hook.go
diff options
context:
space:
mode:
authorKN4CK3R <admin@oldschoolhack.me>2021-06-23 21:38:19 +0200
committerGitHub <noreply@github.com>2021-06-23 21:38:19 +0200
commit383ffcfa34d284e3938517989a036da31ad42215 (patch)
treede70721e8cafa239a4a6bf8585f4cbce56504621 /cmd/hook.go
parentFix Nits (#16234) (diff)
downloadforgejo-383ffcfa34d284e3938517989a036da31ad42215.tar.xz
forgejo-383ffcfa34d284e3938517989a036da31ad42215.zip
Small refactoring of modules/private (#15947)
* Use correct variable name. * doer is never nil here. * Use status code constants. * Replaced generic map with concrete struct. * Fixed windows lint. * Removed unused method. * Changed error codes. Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'cmd/hook.go')
-rw-r--r--cmd/hook.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/hook.go b/cmd/hook.go
index def3b636eb..312c9a14fc 100644
--- a/cmd/hook.go
+++ b/cmd/hook.go
@@ -179,7 +179,7 @@ Gitea or set your environment appropriately.`, "")
GitObjectDirectory: os.Getenv(private.GitObjectDirectory),
GitQuarantinePath: os.Getenv(private.GitQuarantinePath),
GitPushOptions: pushOptions(),
- ProtectedBranchID: prID,
+ PullRequestID: prID,
IsDeployKey: isDeployKey,
}