From a96fcb8835aa6da755e35e003fada5fb31b0e567 Mon Sep 17 00:00:00 2001 From: fr33domlover Date: Mon, 26 Sep 2022 13:31:24 +0000 Subject: [PATCH] PostReceiveR hook handler: Don't raise error, otherwise VCS push fails --- src/Vervis/Handler/Repo.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Vervis/Handler/Repo.hs b/src/Vervis/Handler/Repo.hs index 08161cb..39b6592 100644 --- a/src/Vervis/Handler/Repo.hs +++ b/src/Vervis/Handler/Repo.hs @@ -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