Changed some code around in the note controller

This commit is contained in:
Ben
2018-11-05 11:20:39 +00:00
parent 26b5f2902c
commit 106fcbfcef
2 changed files with 2 additions and 5 deletions

View File

@@ -5,7 +5,6 @@ import {Notes} from '../models/notes/notes';
export class NoteController extends ControllerHandler {
static async newNote(req, res, next) {
let errors = new API.errors(res);
// Logger.debug(JSON.stringify(req.user, false, 4));
let content = req.body.text || null;
let creatorid = req.user.id || undefined;