0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Changed existing email status handling according to chenges in schema

This commit is contained in:
Nazar Gargol 2019-11-07 15:45:23 +07:00 committed by Naz Gargol
parent d0e8561b03
commit 92dc86f0a5
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ const Email = ghostBookshelf.Model.extend({
defaults: function defaults() {
return {
uuid: uuid.v4(),
status: 'sending'
status: 'pending'
};
},

View file

@ -424,7 +424,7 @@ DataGenerator.Content = {
{
id: ObjectId.generate(),
uuid: '6b6afda6-4b5e-4893-bff6-f16859e8349a',
status: 'sending',
status: 'submitted',
stats: '',
email_count: 2,
subject: 'You got mailed!',