File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 882882 "info" : {
883883 "title" : " @libertech-fr/mailrest" ,
884884 "description" : " An email retrieval system with a REST API built with NestJS in NodeJS" ,
885- "version" : " 0.0.5 " ,
885+ "version" : " 0.0.6 " ,
886886 "contact" : {}
887887 },
888888 "tags" : [],
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ export class AccountsService extends AbstractService {
9191 const accounts = await readAccountsFile ( this . cache )
9292 const account = accounts . accounts . find ( ( a ) => a . id === id )
9393 if ( ! account ) throw new NotFoundException ( `Account not found: ${ id } ` )
94- if ( ! body . template && ( ! body . text || ! body . html ) ) {
94+ if ( ! body . template && ! body . text && ! body . html ) {
9595 throw new BadRequestException ( `Template, text or html is required !` )
9696 }
9797 try {
You can’t perform that action at this time.
0 commit comments