Skip to content

make response from update user JSON format for mongoose #85

Open
@ezkemboi

Description

@ezkemboi

Describe the bug

  • Jsonify mongoose update data.

To Reproduce

  • create a new app using npm start init - please select database as mongodb
  • cd app_created,
  • Run tests npm test
  • console.log the updatedUser in src/controller/user.js or src/services/user.js

Expected behavior

  • Should be JSON formatted.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • N/A
    Smartphone (please complete the following information):
  • N/A

Additional context

  • You can also check for the creation of a user.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions