Skip to content

Commit

Permalink
skip all day for briefing
Browse files Browse the repository at this point in the history
  • Loading branch information
olliejm committed May 21, 2020
1 parent 4e6ba2e commit f15c598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activities/events-today.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ module.exports = async (activity) => {
activity.Response.Data.allDayCount = allDayCount;

if (value > 0) {
const first = paginatedItems[pastCount];
const first = paginatedItems[pastCount + allDayCount];

activity.Response.Data.value = value;
activity.Response.Data.date = first.date;
Expand Down

0 comments on commit f15c598

Please sign in to comment.