PostReceiveR hook handler: Don't raise error, otherwise VCS push fails
This commit is contained in:
parent
482e2e806e
commit
a96fcb8835
1 changed files with 1 additions and 2 deletions
|
@ -522,8 +522,7 @@ postRepoUnfollowR :: KeyHashid Repo -> Handler ()
|
||||||
postRepoUnfollowR _ = error "Temporarily disabled"
|
postRepoUnfollowR _ = error "Temporarily disabled"
|
||||||
|
|
||||||
postPostReceiveR :: Handler Text
|
postPostReceiveR :: Handler Text
|
||||||
postPostReceiveR = do
|
postPostReceiveR = return "Temporarily disabled, no Push activity published"
|
||||||
error "Temporarily disabled"
|
|
||||||
{-
|
{-
|
||||||
push <- requireCheckJsonBody
|
push <- requireCheckJsonBody
|
||||||
(pushAP, shr, rp) <- push2ap push
|
(pushAP, shr, rp) <- push2ap push
|
||||||
|
|
Loading…
Reference in a new issue