diff --git a/pkg/captcha/db.go b/pkg/captcha/db.go index a246ada..be7d315 100644 --- a/pkg/captcha/db.go +++ b/pkg/captcha/db.go @@ -103,6 +103,6 @@ func (cdb *CaptchaDB) IsSolved(id ID) (bool, error) { return false, errorNotFound } -func (cdb *CaptchaDB) GetExpireInterval() time.Duration { +func (cdb *CaptchaDB) GetExpiry() time.Duration { return cdb.ExpireIn }