Giter Site home page Giter Site logo

all-kindz-of-gains-backend's People

Contributors

kmlad-ss avatar pancanin avatar

Watchers

 avatar

all-kindz-of-gains-backend's Issues

When a user registers with an already existing email, the backend throws error - Please Format the error in a better way dage

{"error":"WriteError({"code":11000,"index":0,"errmsg":"E11000 duplicate key error collection: all-kindz-of-gainz.users index: email_1 dup key: { : \"[email protected]\" }","op":{"profileCreatedOn":1470144844951,"email":"[email protected]","password":"718f9dd897a12e3e5b16364a2208f99075fa7c28d7cf8b5d2cd9c973554596070d8e978b03c8ca72eceb06e2f3d2bcf5a9832290e40f2a451baf7c03f3edfc9be35b78392d3697f80b5805963093320f0f81727299a57c1959ad8095a7b48a28d7f692030a24b6f326bb8d802d3365cde5693d18ff708615caec9f75fdd63ac73e6cc5ae5e23841b36f563bb5290c1389c476dbff44962d2637e824094ff1db414c080e868984fd37a16a4e1dcf597f2f3721404580fcd29b086a9f1668caaaa4e04c5f6ca2134b00ad0d8faeefba10c2a4d7334369a654f4078ce87b0c854e076957d51d0665498760b1c1d3b3ed5b5309e684bbe24e48d9481476e956c89d787d530baaf98876b7d5246dc4457126627713407ad91ca094497a54b43545816d423873ae33c8c84a8e687f2d2b902a6894c95e940ea7f37746a5b49ee281abf3fdefb172a6cdb78c4b2e20d9c311d450194b36bdaa2055ed0b92d7850f9b55118e9db2c7e6f81f7f6d38e356c525a43a47c00a015bbd5cef3b5c75e5f7572a73736f7c6766d9e1b4d4f6edaec21e4de7153a5a0170896697559df0720983bb269ee480a37f4b570d31bc9d51c5387bd3472fe7306ec6112447914f7bad4587584316730d81a6a966e096aee1fe2609265951f20abf2982cc507f57e08be62eb6e46cf71812c57ebaef418fa36269b2c1d134ed4e9d80ef18ee638a136f7a4c6","firstName":"markata","lastName":"edinaise","_id":"57a0a14cf6a32d3033a87a76","progress":[],"images":[],"salt":"b5af93b967b2144d854b3aa81a5e6708f461e369dd8b73d6fcf21b4d8a533abb4e44bf3350d15018a58d7cc269a572432b707c7f07710aa677f3de6e5654b9b675dc61c1eee10a3b73482e6ec53e2fc864315e2793c3b14f75730e6a976de63d0ef4abda1dc7c10569fbc74effb20328ff5d119719b0a983a5f8fc43a1ebb451819a7f742019fa693514208b650a90887eee029d0fd8bbd7718e05ad37851944368a148873ce7b1069f5d91f96bdc8821ef5ec1f6a2b5a73013ea4b3bbeffcd3b2d34e60522780d6ecdf6572a1217b2d30b70d3fd4753b64853905bb96db42f2032914232b48779a6eba13adfaca79ebb7e4f5df9b1b8fb5c082c5e10cd4ef02","__v":0}})"}

Edit Profile issues

Discuss:

  1. The date format which will be sent to the backend
  2. When sending null value the validation kicks in, but it shouldn`t
  3. Change profileImage mongo column to be of type string

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.