From 766e60b6d6967b9b8b08a5f5e3a6688101082119 Mon Sep 17 00:00:00 2001 From: Will Coleda Date: Thu, 24 Oct 2024 15:19:07 -0400 Subject: [PATCH] Add $!max-age Fixes #390 --- lib/Whateverable/Webhooks.pm6 | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Whateverable/Webhooks.pm6 b/lib/Whateverable/Webhooks.pm6 index 422d24b..85f755d 100644 --- a/lib/Whateverable/Webhooks.pm6 +++ b/lib/Whateverable/Webhooks.pm6 @@ -25,6 +25,7 @@ unit module Whateverable::Webhooks; class StrictTransportSecurity does Cro::Transform { has Str:D $.secret is required; + has $!max-age; method consumes() { Cro::TCP::Message } method produces() { Cro::TCP::Message }