From 14029ef399c9bfabc7392508d4acbdf07f67b303 Mon Sep 17 00:00:00 2001 From: MCorange99 Date: Sat, 30 Mar 2024 17:14:52 +0200 Subject: [PATCH] changed api apth --- src/web/routes/api/webhooks/github/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/routes/api/webhooks/github/mod.rs b/src/web/routes/api/webhooks/github/mod.rs index bb5dd1e..9816654 100644 --- a/src/web/routes/api/webhooks/github/mod.rs +++ b/src/web/routes/api/webhooks/github/mod.rs @@ -10,7 +10,7 @@ use crate::database::{models, Database}; pub fn get_scope() -> Scope { Scope::new("/github") .service( - web::resource("/push") + web::resource("/") .to(handler) ) }