File tree Expand file tree Collapse file tree 2 files changed +3
-29
lines changed Expand file tree Collapse file tree 2 files changed +3
-29
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ export class EmailService {
6565 email : string ,
6666 title : string ,
6767 factCheckedLink : string ,
68- date : string
68+ date ? : string
6969 ) : Promise < void > {
7070 try {
7171 let htmlContent = `<div class="">
@@ -228,7 +228,7 @@ export class EmailService {
228228 target="_blank"
229229 data-saferedirecturl="https://www.google.com/url?q=${ factCheckedLink } "
230230 >${ title }
231- >
231+
232232 </td>
233233 </tr>
234234
@@ -548,31 +548,6 @@ export class EmailService {
548548 /></a>
549549 </td>
550550 </tr>
551-
552- <tr>
553- <td
554- width="100%"
555- align="center"
556- dir="ltr"
557- style="padding-bottom: 24px"
558- >
559- <a
560- style="
561- font-size: 13px;
562- font-family: Verdana, Geneva,
563- sans-serif;
564- font-weight: normal;
565- color: #222222;
566- text-decoration: none;
567- line-height: normal;
568- "
569- href="https://rdc.i-verify.org/"
570- target="_blank"
571- data-saferedirecturl="https://www.google.com/url?q=https://rdc.i-verify.org/"
572- >Voir en ligne</a
573- >
574- </td>
575- </tr>
576551 </tbody>
577552 </table>
578553 </td>
Original file line number Diff line number Diff line change @@ -59,8 +59,7 @@ export class WpClientService{
5959 const start = new Date ( ) ;
6060 start . setHours ( start . getHours ( ) - 24 ) ;
6161 const startDate = date ?? start . toISOString ( ) . split ( '.' ) [ 0 ] ;
62- console . log ( 'getPostsFromDate' , startDate ) ;
63- return this . http . get ( this . config . endpoints . posts + '?after=' + startDate , this . auth ) . pipe (
62+ return this . http . get ( this . config . endpoints . posts + '?after=' + startDate + '&per_page=100' , this . auth ) . pipe (
6463 map ( res => res . data ) ,
6564 catchError ( err => {
6665 console . log ( 'Error getting post' , err )
You can’t perform that action at this time.
0 commit comments