In db.go GetExpireInterval() renamed to GetExpiry().
This commit is contained in:
parent
9e7f3a2728
commit
508d44a512
@ -103,6 +103,6 @@ func (cdb *CaptchaDB) IsSolved(id ID) (bool, error) {
|
|||||||
return false, errorNotFound
|
return false, errorNotFound
|
||||||
}
|
}
|
||||||
|
|
||||||
func (cdb *CaptchaDB) GetExpireInterval() time.Duration {
|
func (cdb *CaptchaDB) GetExpiry() time.Duration {
|
||||||
return cdb.ExpireIn
|
return cdb.ExpireIn
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user