Skip to content

Commit

Permalink
Update src/model/user.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Seohyun Yoon <[email protected]>
  • Loading branch information
Hyun-git and seohyun0120 authored Jun 18, 2024
1 parent d0a22fe commit 25a9815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export interface IUserInfos extends IUser {
const UserSchema: Schema = new Schema(
{
deviceID: { type: String, required: true },
lastSeenMeme: { type: [String], default: [] },
lastSeenMeme: { type: Schema.Types.ObjectId, ref: 'Meme' },
isDeleted: { type: Boolean, required: true, default: false },
},
{
Expand Down

0 comments on commit 25a9815

Please sign in to comment.