infinite-wish-board icon indicating copy to clipboard operation
infinite-wish-board copied to clipboard

Error on creating account

Open marija04 opened this issue 4 years ago • 1 comments

What was the feature/problem?

When you try to create a new account with the username that already exist in the database we get error "Request failed with status code 500".

How does this PR address the above feature/problem?

This is fixed now and we get the following error "Username already exist"

Check lists (check x in [ ] of list items)

  • [ ] Test passed
  • [ ] Coding style (indentation, etc)

Additional Comments (if any)

{Please write here}

marija04 avatar May 19 '20 18:05 marija04

Codecov Report

Merging #154 into master will increase coverage by 0.03%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #154      +/-   ##
==========================================
+ Coverage   94.33%   94.37%   +0.03%     
==========================================
  Files          29       29              
  Lines         459      462       +3     
  Branches       52       53       +1     
==========================================
+ Hits          433      436       +3     
  Misses         23       23              
  Partials        3        3              
Flag Coverage Δ
#api 97.23% <100.00%> (+0.04%) :arrow_up:
#ui 92.52% <ø> (ø)
Impacted Files Coverage Δ
ui/src/login/ValidatedSignUpForm.js 100.00% <ø> (ø)
api/src/routes/auth.js 100.00% <100.00%> (ø)

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 a42deda...eb8de41. Read the comment docs.

codecov-commenter avatar May 19 '20 20:05 codecov-commenter