Update heatmap report

This commit is contained in:
Pranav
2024-02-13 15:23:46 -08:00
parent 73fcb91ca3
commit db30a05b19
5 changed files with 55 additions and 19 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 },
});
}