Skip to content
Snippets Groups Projects
Commit 2892e0e9 authored by root's avatar root
Browse files

awstesting

parent e6311508
No related branches found
No related tags found
No related merge requests found
import User from '../models/User.js';
import User from '../models/user.js';
const userService = {
async createUser(userData) {
......@@ -39,4 +39,4 @@ const userService = {
}
};
export default userService;
\ No newline at end of file
export default userService;
import mongoose from 'mongoose';
import UserSchema from './User.js';
import UserSchema from './user.js';
const CommentSchema = new mongoose.Schema({
content: {
......@@ -62,4 +62,4 @@ const ArticleSchema = new mongoose.Schema({
const Article = mongoose.model("Article", ArticleSchema);
export default Article;
\ No newline at end of file
export default Article;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment