File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -481,16 +481,15 @@ async function updateReadme(data) {
481481 `🌸 Completed ${ days_items [ 0 ] . total_completed . toString ( ) } tasks today` ,
482482 ] ;
483483 todoist . push ( dailyGoal ) ;
484-
485- const totalTasks = [ `✅ Completed ${ Humanize . intComma ( completed_count ) } tasks so far` ] ;
486- todoist . push ( totalTasks ) ;
487484
488485 if ( PREMIUM ) {
489486 const weekItems = [ `🗓 Completed ${ week_items [ 0 ] . total_completed . toString ( ) } tasks this week` ] ;
490487 todoist . push ( weekItems ) ;
491488 }
492-
493489
490+ const totalTasks = [ `✅ Completed ${ Humanize . intComma ( completed_count ) } tasks so far` ] ;
491+ todoist . push ( totalTasks ) ;
492+
494493 const longestStreak = [
495494 `⏳ Longest streak is ${ goals . max_daily_streak . count } days` ,
496495 ] ;
Original file line number Diff line number Diff line change @@ -28,16 +28,15 @@ async function updateReadme(data) {
2828 `🌸 Completed ${ days_items [ 0 ] . total_completed . toString ( ) } tasks today` ,
2929 ] ;
3030 todoist . push ( dailyGoal ) ;
31-
32- const totalTasks = [ `✅ Completed ${ Humanize . intComma ( completed_count ) } tasks so far` ] ;
33- todoist . push ( totalTasks ) ;
3431
3532 if ( PREMIUM ) {
3633 const weekItems = [ `🗓 Completed ${ week_items [ 0 ] . total_completed . toString ( ) } tasks this week` ] ;
3734 todoist . push ( weekItems ) ;
3835 }
39-
4036
37+ const totalTasks = [ `✅ Completed ${ Humanize . intComma ( completed_count ) } tasks so far` ] ;
38+ todoist . push ( totalTasks ) ;
39+
4140 const longestStreak = [
4241 `⏳ Longest streak is ${ goals . max_daily_streak . count } days` ,
4342 ] ;
You can’t perform that action at this time.
0 commit comments