Skip to content

make response from update user JSON format for mongoose #85

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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