Skip to content

Commit

Permalink
refactoring(GiniBankAPILibrary): refactor GiniBankAPI init, mark conf…
Browse files Browse the repository at this point in the history
…iguration service as optional

PP-352
  • Loading branch information
mrkulik committed Jun 12, 2024
1 parent 8fa23f0 commit 50cc32b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ public final class GiniBankAPI {
private let configService: ConfigurationServiceProtocol?
static var logLevel: LogLevel = .none

init<T: DocumentService>(documentService: T, paymentService: PaymentService?, configurationService: ConfigurationServiceProtocol)
{
init<T: DocumentService>(documentService: T, paymentService: PaymentService?, configurationService: ConfigurationServiceProtocol?) {
self.docService = documentService
self.payService = paymentService
self.configService = configurationService
Expand Down

0 comments on commit 50cc32b

Please sign in to comment.