mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-23 11:55:01 +03:00
Fixed creation of EmailBatch and EmailRecipient collections
no-issue
This commit is contained in:
parent
2cf5ca546b
commit
0fd0527da0
@ -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…
Reference in New Issue
Block a user