File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ export async function POST(req: Request) {
104104 exam : null ,
105105 semester : null ,
106106 campus : null ,
107- ambiguousTags : [ ] ,
107+ ambiguous_tags : [ ] ,
108108 } ) ;
109109
110110 await paper . save ( ) ;
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ const adminSchema = new Schema<IAdminPaper>({
3535 } ,
3636 answer_key_included : { type : Boolean || null , default : false } ,
3737 is_selected : { type : Boolean , default : false } ,
38- ambiguousTags : { type : [ String ] , default : [ ] } ,
38+ ambiguous_tags : { type : [ String ] , default : [ ] } ,
3939} ) ;
4040
4141const paperSchema = new Schema < IPaper > ( {
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ export interface IAdminPaper {
9999 | null ;
100100 answer_key_included ?: boolean | null ;
101101 is_selected ?: boolean ;
102- ambiguousTags : string [ ] ;
102+ ambiguous_tags : string [ ] ;
103103}
104104
105105export interface ICourses {
You can’t perform that action at this time.
0 commit comments