feat: Allow users to see heatmap for last 30 days

This commit is contained in:
Pranav
2025-02-05 18:33:23 -08:00
parent c750413094
commit 6386142348
8 changed files with 181 additions and 94 deletions
+2 -2
View File
@@ -61,9 +61,9 @@ class ReportsAPI extends ApiClient {
});
}
getConversationTrafficCSV() {
getConversationTrafficCSV({ daysBefore = 6 } = {}) {
return axios.get(`${this.url}/conversation_traffic`, {
params: { timezone_offset: getTimeOffset() },
params: { timezone_offset: getTimeOffset(), days_before: daysBefore },
});
}