Let instance actually use GetExpiry() method.

This commit is contained in:
Alexander Andreev 2022-06-27 01:10:52 +04:00
parent 8f6ea671c6
commit c92d02f4e4
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F

View File

@ -30,5 +30,5 @@ func IsSolved(id captcha.ID) (bool, error) {
}
func GetExpiry() time.Duration {
return captchaDb.ExpireIn
return captchaDb.GetExpiry()
}