File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -92,7 +92,6 @@ export async function POST(req: Request) {
9292 ) ;
9393 }
9494
95-
9695 const paper = new PaperAdmin ( {
9796 cloudinary_index : configIndex ,
9897
@@ -105,6 +104,7 @@ export async function POST(req: Request) {
105104 exam : null ,
106105 semester : null ,
107106 campus : null ,
107+ ambiguous_tags : [ ] ,
108108 } ) ;
109109
110110 await paper . save ( ) ;
Original file line number Diff line number Diff line change @@ -35,6 +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+ ambiguous_tags : { type : [ String ] , default : [ ] } ,
3839} ) ;
3940
4041const paperSchema = new Schema < IPaper > ( {
Original file line number Diff line number Diff line change @@ -99,6 +99,7 @@ export interface IAdminPaper {
9999 | null ;
100100 answer_key_included ?: boolean | null ;
101101 is_selected ?: boolean ;
102+ ambiguous_tags : string [ ] ;
102103}
103104
104105export interface ICourses {
You can’t perform that action at this time.
0 commit comments