This commit is contained in:
Ben
2018-09-10 14:03:34 +01:00
parent 30a1e1e834
commit 846fa32059

View File

@@ -8,8 +8,24 @@ export class NoteController extends ControllerHandler {
static async newNote(req, res, next) {
Logger.debug(JSON.stringify(req.user, false, 4));
console.dir(__stack, { depth: null })
let content = req.body.text || undefined;
let creatorid = req.user.id || undefined;
let group = req.body.parentgroup || undefined;
let order = req.body.order || undefined;
next();
}
}
// id: id,
// content: content,
// parentgroup: parentgroup,
// creatorid: creatorid,
// order: order,
// catergory: null,
// endpoint: null,
// lastupdated: new Date().getTime()
// static async newNote(id, content, creatorid, order, parentgroup) {