diff options
Diffstat (limited to 'models/cardComments.js')
-rw-r--r-- | models/cardComments.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/cardComments.js b/models/cardComments.js index f29366a5..fcb97104 100644 --- a/models/cardComments.js +++ b/models/cardComments.js @@ -69,7 +69,7 @@ CardComments.allow({ CardComments.helpers({ copy(newCardId) { this.cardId = newCardId; - this._id = null; + delete this._id; CardComments.insert(this); }, |