summaryrefslogtreecommitdiff
path: root/src/service.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/service.rs')
-rw-r--r--src/service.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/service.rs b/src/service.rs
index a261bdf..b9a2733 100644
--- a/src/service.rs
+++ b/src/service.rs
@@ -132,8 +132,6 @@ fn decode_hex(s: &str) -> Result<Vec<u8>, ParseIntError> {
}
/// Validates the signature that GitHub attaches to events.
-///
-///
fn validate_request(secret: &String, headers: &HeaderMap<HeaderValue>, body: &Bytes) -> bool {
// To verify the authenticity of the event, GitHub attaches a signature of the payload to
// every request. We extract the header. The header value will look something like this: