Changing database schema a bit
This commit is contained in:
@ -41,7 +41,7 @@ exports.getAdd = async function(req, res) {
|
||||
// POST /test/add - add the test to the database
|
||||
exports.postAdd = async function(req, res) {
|
||||
var test = await Test.create({
|
||||
dateTag: req.body.test_date_tag,
|
||||
title: req.body.test_title,
|
||||
description: req.body.test_description,
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user