something update

This commit is contained in:
2024-09-14 20:13:15 -04:00
parent cc6529a487
commit abe4b3cfb1
4 changed files with 20 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
import APIRoute from "../APIRoute";
import APIRoute from "../APIRoute.js";
export default class UsersAPI extends APIRoute {
constructor() {
@@ -20,5 +20,13 @@ export default class UsersAPI extends APIRoute {
let db = req.app.get('mongo').users;
let result = await db.create({
recipes: [],
dietaryRestrictions: [],
firstName: "String",
lastName: "OtherString",
email: ""
});
}
}