changing posts to reference clerkUserID rather than id in mongodb

This commit is contained in:
Will Baumbach
2025-08-06 23:24:43 -05:00
parent 482bc915a5
commit 0af55853f6
5 changed files with 7 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
import mongoose from 'mongoose'
const postSchema = new mongoose.Schema({
userID: {
clerkUserID: {
type: String,
required: true
},