fixed-redis-cache
Some checks failed
deploy / deploy (push) Failing after 1m3s

This commit is contained in:
2024-06-05 21:20:36 +03:00
parent 693f252ae9
commit 76f976937a
2 changed files with 2 additions and 15 deletions

View File

@@ -54,7 +54,7 @@ func DeleteUserResolver(ctx context.Context, params model.DeleteUserInput) (*mod
// delete otp for given email
otp, err := db.Provider.GetOTPByEmail(ctx, refs.StringValue(user.Email))
if err != nil {
log.Infof("No OTP found for email (%s): %v", user.Email, err)
log.Info("No OTP found for email (%s): %v", user.Email, err)
// continue
} else {
err := db.Provider.DeleteOTP(ctx, otp)