more mongodb stuff

This commit is contained in:
BGV
2025-03-30 11:53:54 -04:00
parent 1b8c97637d
commit e646a2a47b

View File

@@ -55,6 +55,17 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
await mongoose.model('User').find({});
await mongoose.model('User').find({});
await mongoose.model('User').find({});
await mongoose.model('User').find({});
await mongoose.model('User').find({});
await mongoose.model('User').find({});
await mongoose.model('User').find({});
await mongoose.model('User').find({});
await mongoose.model('User').find({});
await mongoose.model('User').find({});
await mongoose.model('User').find({});
await mongoose.model('User').find({});
await mongoose.model('User').find({});
await mongoose.model('User').find({});
res.status(200).json({ success: true, message: "Data saved successfully!" });
} else {
res.setHeader('Allow', ['POST']);