From 1be64262b2b27a6a4ce20ee3b97bb2e0509966d7 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Tue, 30 Mar 2021 14:45:43 +0200 Subject: [PATCH] main: remove solved TODO item --- src/main.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 4c7fc25..e71ec3d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -30,8 +30,6 @@ struct Secret(String); #[post("/", data = "")] fn gitea_webhook(payload: SignedJson, sender: State) -> Status { - // TODO: validate Gitea signature - { let sender = sender.0.lock().unwrap(); let repo = &payload.repository;