Parse-SDK-JS icon indicating copy to clipboard operation
Parse-SDK-JS copied to clipboard

feat: add error code for email already verified

Open pash2048 opened this issue 4 years ago • 3 comments

See parse-community/parse-server##7740

New Pull Request Checklist

  • [x] I am not disclosing a vulnerability.
  • [x] I am creating this PR in reference to an issue.

Issue Description

This PR adds a new error code when users requestEmailVerification for verified email, now the parse server sends the OTHER_CAUSE error code and it needs a better error code instead of -1 and should have a message instead of stack property.

Related issue: parse-community/parse-server##7740

pash2048 avatar Dec 23 '21 10:12 pash2048

Thanks for opening this pull request!

  • ❌ Please edit your post and use the provided template when creating a new pull request. This helps everyone to understand your post better and asks for essential information to quicker review the pull request.

The label type:feature cannot be used here.

Codecov Report

:exclamation: No coverage uploaded for pull request base (alpha@d084ac9). Click here to learn what that means. The diff coverage is n/a.

:exclamation: Current head 8653fd4 differs from pull request most recent head f39a040. Consider uploading reports for the commit f39a040 to get more accurate results

Impacted file tree graph

@@           Coverage Diff            @@
##             alpha    #1438   +/-   ##
========================================
  Coverage         ?   99.94%           
========================================
  Files            ?       61           
  Lines            ?     5949           
  Branches         ?     1354           
========================================
  Hits             ?     5946           
  Misses           ?        3           
  Partials         ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update d084ac9...f39a040. Read the comment docs.

codecov[bot] avatar Dec 24 '21 00:12 codecov[bot]