Merge c9dbede5e9
into 281072ac1b
This commit is contained in:
commit
6c484ab3cc
1 changed files with 3 additions and 0 deletions
|
@ -62,6 +62,9 @@ module.exports.create = (template, callback) => {
|
|||
|
||||
Object.keys(template).forEach(key => {
|
||||
let value = template[key];
|
||||
if(value === null) {
|
||||
value = '';
|
||||
}
|
||||
key = tools.toDbKey(key);
|
||||
if (!allowedKeys.includes(key)) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue