Skip to content

Commit

Permalink
Fix 1day inv filter (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptosharks131 authored Jul 11, 2023
2 parents 1b48a00 + 8e6d036 commit a01fb26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ <h2>Sign a Message</h2>
offChain.d7.amt += p.value
}
for(inv of (await inv_rev_task).results){
if(adjustTZ(p.creation_date) >= _1day_ago){
if(adjustTZ(inv.creation_date) >= _1day_ago){
offChain.d1.inv_rev += inv.amt_paid
}
offChain.d7.inv_rev += inv.amt_paid
Expand Down

0 comments on commit a01fb26

Please sign in to comment.