OAS: duration

This commit is contained in:
realaravinth
2021-03-31 13:56:55 +05:30
parent b0c9a7b1c5
commit 8aeab69303
3 changed files with 107 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ pub async fn update_duration(
} else {
// when mCaptcha/mCaptcha #2 is fixed, this wont be necessary
Err(ServiceError::CaptchaError(
m_captcha::errors::CaptchaError::DifficultyFactorZero,
m_captcha::errors::CaptchaError::CaptchaDurationZero,
))
}
}