[messaging] Removing TO requirement for email import (#3949)
This commit is contained in:
@ -189,7 +189,6 @@ export class FetchMessagesByBatchesService {
|
|||||||
} = parsed;
|
} = parsed;
|
||||||
|
|
||||||
if (!from) throw new Error('From value is missing');
|
if (!from) throw new Error('From value is missing');
|
||||||
if (!to) throw new Error('To value is missing');
|
|
||||||
|
|
||||||
const participants = [
|
const participants = [
|
||||||
...this.formatAddressObjectAsParticipants(from, 'from'),
|
...this.formatAddressObjectAsParticipants(from, 'from'),
|
||||||
|
|||||||
Reference in New Issue
Block a user