In the regardApplication function in individualServices/RegardApplication.js , the for loop that attempts to create link based on the maximum attempts has multiple if condition that checks the last attempt which is not required. This for loop needs to be rewritten to optimize the code and to have only the necessary conditions to be checked.
In the regardApplication function in individualServices/RegardApplication.js , the for loop that attempts to create link based on the maximum attempts has multiple if condition that checks the last attempt which is not required. This for loop needs to be rewritten to optimize the code and to have only the necessary conditions to be checked.