Skip to content

Commit

Permalink
Backend Correct Schema Reference
Browse files Browse the repository at this point in the history
Update schemas to include mongodb..
  • Loading branch information
JancoEngelbrecht committed Sep 12, 2024
1 parent 454021e commit 503b124
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/routes/contacts.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const express = require('express');
const schemas = require('../models/schemas');
const schemas = require('../models/mongodbschemas');
const sgMail = require('@sendgrid/mail');

const router = express.Router();
Expand Down
2 changes: 1 addition & 1 deletion backend/routes/products.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const express = require('express');
const schemas = require('../models/schemas');
const schemas = require('../models/mongodbschemas');

const router = express.Router();

Expand Down
2 changes: 1 addition & 1 deletion backend/routes/userBasket.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const express = require('express');
const schemas = require('../models/schemas');
const schemas = require('../models/mongodbschemas');
const mongoose = require('mongoose');

const router = express.Router();
Expand Down

0 comments on commit 503b124

Please sign in to comment.