Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[finishes #187942837] fixing bug in cart controller and chat model #96

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

JeanIrad
Copy link
Contributor

Purpose

fixing the bug in cart controller

Changes Made

I have created a delete cart item route, altered chat table removing socketId as it was not serving anything in the app, renamed the message to data in the profile update response

Testing Instructions

Provide instructions on how to test the changes

Related Issues

Reference any related issues or pull requests

Checklist

Please review the following checklist and make sure all tasks are complete before submitting:

  • [ x] Code follows the project's coding standards
  • [ x] Changes are covered by tests
  • [x ] Documentation is updated (if applicable)
  • [x ] All tests pass

	modified:   package.json
	modified:   src/chatSetup.ts
	modified:   src/controllers/cartController.ts
	modified:   src/controllers/userController.ts
	new file:   src/database/migrations/20240712054049-remove-socketId-from-chats.js
	modified:   src/database/models/chat.ts
	modified:   src/routes/cartRoute.ts
@JeanIrad JeanIrad force-pushed the 187942837-bg-delete-cart-item branch from 353b674 to dda2889 Compare July 12, 2024 17:08
@niyontwali niyontwali merged commit 826c244 into develop Jul 12, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants