Update: no field check
This commit is contained in:
parent
249c846093
commit
924b06816c
1 changed files with 2 additions and 0 deletions
|
|
@ -41,6 +41,8 @@ exports.create = (req, res) => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
return sendError(res, 500, -1, `No title given`, token);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue