ENCOA-86: Added default value for new assignment
This commit is contained in:
@@ -12,6 +12,7 @@ import {capitalize, flatten, uniqBy} from "lodash";
|
|||||||
import {User} from "@/interfaces/user";
|
import {User} from "@/interfaces/user";
|
||||||
import moment from "moment";
|
import moment from "moment";
|
||||||
import {sendEmail} from "@/email";
|
import {sendEmail} from "@/email";
|
||||||
|
import { release } from "os";
|
||||||
|
|
||||||
const db = getFirestore(app);
|
const db = getFirestore(app);
|
||||||
|
|
||||||
@@ -138,6 +139,7 @@ async function POST(req: NextApiRequest, res: NextApiResponse) {
|
|||||||
results: [],
|
results: [],
|
||||||
exams,
|
exams,
|
||||||
instructorGender,
|
instructorGender,
|
||||||
|
released: false,
|
||||||
...body,
|
...body,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user