DevClad-Inc / devclad

async function should have await expression JS-0116
Bug risk
Minor
1 occurrence in this check
Found async function without any await expressions
 62		}
 63	};
 64
 65	const handleBulkMail = async (type: EmailType) => { 66		if (data !== null) { 67			const users = data?.data.users as ManagedUser[]; 68			if (type === 'reminder') { 69				for (const user of users) { 70					handleMail(user.first_name, user.email, type); 71				} 72			} else { 73				for (const user of users) { 74					handleMail( 75						user.first_name, 76						user.email, 77						type, 78						user.id, 79						queryParams.get('status') === 'True' ? 'False' : 'True' 80					); 81				} 82			} 83		} 84	}; 85
 86	interface ManagedUser {
 87		id: number;