change: provide createdAt Date for newsletter
This commit is contained in:
parent
2357497d3a
commit
f6a0a61ed8
2 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,7 @@ export default abstract class NewsletterFactory {
|
|||
newsletterSignatur: record.newsletterSignatur,
|
||||
isSent: record.isSent,
|
||||
recipientsByQueryId: record?.recipientsByQuery ? record.recipientsByQuery.id : null,
|
||||
createdAt: record.createdAt,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -7,4 +7,5 @@ export interface NewsletterViewModel {
|
|||
newsletterSignatur: string;
|
||||
isSent: boolean;
|
||||
recipientsByQueryId?: string;
|
||||
createdAt: Date;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue