From c92d02f4e471db99fd4234a50ac83cb56af4e311 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Mon, 27 Jun 2022 01:10:52 +0400 Subject: [PATCH] Let instance actually use GetExpiry() method. --- internal/captcha/instance.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/captcha/instance.go b/internal/captcha/instance.go index e05d19a..28e6a94 100644 --- a/internal/captcha/instance.go +++ b/internal/captcha/instance.go @@ -30,5 +30,5 @@ func IsSolved(id captcha.ID) (bool, error) { } func GetExpiry() time.Duration { - return captchaDb.ExpireIn + return captchaDb.GetExpiry() }