change: remove queryObj from newsletter

This commit is contained in:
Julian Krauser 2025-04-19 10:04:28 +02:00
parent f850fc2526
commit a827185bf1
2 changed files with 0 additions and 4 deletions

View file

@ -18,7 +18,6 @@ export default abstract class NewsletterFactory {
newsletterSignatur: record.newsletterSignatur,
isSent: record.isSent,
recipientsByQueryId: record?.recipientsByQuery ? record.recipientsByQuery.id : null,
recipientsByQuery: record?.recipientsByQuery ? QueryStoreFactory.mapToSingle(record.recipientsByQuery) : null,
};
}

View file

@ -1,5 +1,3 @@
import { QueryStoreViewModel } from "../../configuration/queryStore.models";
export interface NewsletterViewModel {
id: number;
title: string;
@ -9,5 +7,4 @@ export interface NewsletterViewModel {
newsletterSignatur: string;
isSent: boolean;
recipientsByQueryId?: string;
recipientsByQuery?: QueryStoreViewModel;
}