Skip to content

Commit

Permalink
Refactor IndiePitcher.swift to remove unnecessary client parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
petrpavlik committed Oct 1, 2024
1 parent 3b7008e commit 0fde4f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/App/Application+build.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public func buildApplication(_ arguments: some AppArguments) async throws
preconditionFailure("Requires \"INDIEPITCHER_SECRET_KEY\" environment variable")
}

let indiePitcher = IndiePitcher(client: .shared, apiKey: apiKey)
let indiePitcher = IndiePitcher(apiKey: apiKey)

let router = buildRouter(indiePitcher: indiePitcher)
let app = Application(
Expand Down

0 comments on commit 0fde4f6

Please sign in to comment.