PostReceiveR hook handler: Don't raise error, otherwise VCS push fails

This commit is contained in:
fr33domlover 2022-09-26 13:31:24 +00:00
parent 482e2e806e
commit a96fcb8835

View file

@ -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