1
0
Fork 0
mirror of https://code.sup39.dev/repos/Wqawg synced 2024-12-27 18:44:51 +09:00

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