fixed log message typo
This commit is contained in:
parent
3634fd9c26
commit
3ec10a9c7d
|
@ -90,7 +90,7 @@ func SendRecordOTP(app core.App, authRecord *core.Record, otpId string, pass str
|
||||||
otp, err := e.App.FindOTPById(otpId)
|
otp, err := e.App.FindOTPById(otpId)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
e.App.Logger().Warn(
|
e.App.Logger().Warn(
|
||||||
"Unabled to find OTP to update its sentTo field (either it was already deleted or the id is nonexisting)",
|
"Unable to find OTP to update its sentTo field (either it was already deleted or the id is nonexisting)",
|
||||||
"error", err,
|
"error", err,
|
||||||
"otpId", otpId,
|
"otpId", otpId,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue