Skip to content

Commit f0052ba

Browse files
committed
allow "prevMonth" as period param
1 parent b1ad706 commit f0052ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/lib/countly.common.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -790,6 +790,7 @@ countlyCommon.isValidPeriodParam = function(period) {
790790
}
791791

792792
return period === 'month' ||
793+
period === 'prevMonth' ||
793794
period === 'day' ||
794795
period === 'yesterday' ||
795796
period === 'hour' ||

0 commit comments

Comments
 (0)