From bb4b3bd1bac33af6a7bb3e3d56dfc11c515a1fc7 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 26 Jun 2022 20:52:29 +0400 Subject: [PATCH] Method Expire() changed to Expiry(). --- internal/captcha/dwelling_captcha.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/captcha/dwelling_captcha.go b/internal/captcha/dwelling_captcha.go index 2ef24cc..304f42f 100644 --- a/internal/captcha/dwelling_captcha.go +++ b/internal/captcha/dwelling_captcha.go @@ -86,6 +86,6 @@ func (c *DwellingCaptcha) IsSolved() bool { return c.Solved } -func (c *DwellingCaptcha) Expire() time.Time { +func (c *DwellingCaptcha) Expiry() time.Time { return c.ExpireIn }