mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-08 02:52:39 -05:00
Fixed creation of EmailBatch and EmailRecipient collections
no-issue
This commit is contained in:
parent
2cf5ca546b
commit
0fd0527da0
2 changed files with 2 additions and 2 deletions
|
@ -26,5 +26,5 @@ const EmailBatches = ghostBookshelf.Collection.extend({
|
|||
|
||||
module.exports = {
|
||||
EmailBatch: ghostBookshelf.model('EmailBatch', EmailBatch),
|
||||
EmailBatches: ghostBookshelf.model('EmailBatches', EmailBatches)
|
||||
EmailBatches: ghostBookshelf.collection('EmailBatches', EmailBatches)
|
||||
};
|
||||
|
|
|
@ -21,5 +21,5 @@ const EmailRecipients = ghostBookshelf.Collection.extend({
|
|||
|
||||
module.exports = {
|
||||
EmailRecipient: ghostBookshelf.model('EmailRecipient', EmailRecipient),
|
||||
EmailRecipients: ghostBookshelf.model('EmailRecipients', EmailRecipients)
|
||||
EmailRecipients: ghostBookshelf.collection('EmailRecipients', EmailRecipients)
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue