Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvin-chappell committed Jun 28, 2019
1 parent f22d18f commit f732c00
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -105,14 +105,14 @@ object SalesforceHolidayStop {
println("++++++++++++++++++++++++++++++")
requests.foreach(println)
println("++++++++++++++++++++++++++++++")
Right(Unit)
Right(())
} else Salesforce.holidayStopCreateResponse(sfCredentials)(requests)

def zuoraRefsAddedToSalesforce(sfCredentials: SFAuthConfig, dryRun: Boolean)(zuoraRefs: Seq[HolidayStopRequestActionedZuoraRef]): Either[SalesforceUpdateFailure, Unit] =
if (dryRun) {
println("-----------------------------")
zuoraRefs.foreach(println)
println("-----------------------------")
Right(Unit)
Right(())
} else Salesforce.holidayStopUpdateResponse(sfCredentials)(zuoraRefs)
}

0 comments on commit f732c00

Please sign in to comment.