Skip to content

Conversation

@bhatiadheeraj
Copy link
Contributor

No description provided.

services.forEach(async(service)=>{
let countData;
const currentDate = new Date();
if(!service.monthlyCounts || !service.monthlyCounts.length) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a way to combine these 2 giant if statements into one. :) Can you think of a way?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants