In db.go GetExpireInterval() renamed to GetExpiry().

This commit is contained in:
Alexander Andreev 2022-06-26 23:59:19 +04:00
parent 9e7f3a2728
commit 508d44a512
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F

View File

@ -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
}