Skip to content

Commit

Permalink
fix code smell
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottDormand96 committed Nov 2, 2023
1 parent 02dc680 commit 5569538
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ export const getRecurringPayments = async date => {
// grab all rp matching above + within date range of current date -2,-4,-6,-8,-10
const dueRecurringPayments = await findByDateRange(activeRecurringPayments, date)
// assign permission and contact to rp
const dueRecurringPaymentsWithPermissionAndContact = await retrieveActivePermissionAndContact(dueRecurringPayments)
return dueRecurringPaymentsWithPermissionAndContact
return await retrieveActivePermissionAndContact(dueRecurringPayments)
}

export const retrieveActivePermissionAndContact = async recurringPayments => {
Expand Down

0 comments on commit 5569538

Please sign in to comment.