Let instance actually use GetExpiry() method.
This commit is contained in:
parent
8f6ea671c6
commit
c92d02f4e4
@ -30,5 +30,5 @@ func IsSolved(id captcha.ID) (bool, error) {
|
||||
}
|
||||
|
||||
func GetExpiry() time.Duration {
|
||||
return captchaDb.ExpireIn
|
||||
return captchaDb.GetExpiry()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user