Skip to content

Commit

Permalink
fix: bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Bikram-ghuku committed Jan 24, 2024
1 parent 3fbf00e commit 1e0fe3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions controllers/AddressController.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const Address = require('../models/AddressModel');
const User = require('../models/UserModel');

const addAddress = async (req, res)=>{
let address = new Address();
Expand Down
1 change: 1 addition & 0 deletions controllers/CartController.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const User = require('../models/UserModel')
const Items = require('../models/ItemModel')

const cartItems = async (req, res)=>{
const doc = await User.find({_id: req.body.id})
Expand Down

0 comments on commit 1e0fe3b

Please sign in to comment.