use direct insert, add schema check
This commit is contained in:
@@ -76,7 +76,6 @@ Router.map(function () {
|
||||
const listId = this.params.listId;
|
||||
Meteor.call("insertSpells", key, charId, listId, spells, (err, res) => {
|
||||
if (err) {
|
||||
console.log(err);
|
||||
this.response.writeHead(err.error, err.reason);
|
||||
this.response.end(err.details);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user