1
0
Fork 0
mirror of https://code.sup39.dev/repos/Wqawg synced 2024-12-27 17:34:52 +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"
postPostReceiveR :: Handler Text
postPostReceiveR = do
error "Temporarily disabled"
postPostReceiveR = return "Temporarily disabled, no Push activity published"
{-
push <- requireCheckJsonBody
(pushAP, shr, rp) <- push2ap push