Genres/schema: fix spelling
This commit is contained in:
parent
a3dd007bde
commit
66ccbe88e9
1 changed files with 1 additions and 1 deletions
|
|
@ -2,5 +2,5 @@ import { Schema } from 'mongoose';
|
|||
|
||||
export const GenreSchema = new Schema({
|
||||
name: { type: String, required: true },
|
||||
showsIDs: [{ type: Schema.Types.ObjectId, ref: 'Show' }],
|
||||
showIDs: [{ type: Schema.Types.ObjectId, ref: 'Show' }],
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue