Refactor hook module to also format Forgejo stuff

Temporarily disable some Gitlab features

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2024-08-31 00:36:05 +02:00 committed by pep
commit bcc8728cc8
5 changed files with 216 additions and 130 deletions

View file

@ -91,7 +91,7 @@ async fn main() -> Result<!, Error> {
}
}
wh = value_rx.recv() => {
if let Some(Hook::Gitlab(hook)) = wh {
if let Some(hook) = wh {
client.hook(hook).await
}
}