Skip to content

Commit

Permalink
refactor(#647): review - add comment
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre-Yves Lapersonne <[email protected]>
  • Loading branch information
pylapp committed Jan 29, 2024
1 parent 69abcfc commit a8c9a08
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ struct AppsPlusRepository: MoreAppsRepositoryProtocol {
request.addValue(lastResourceEtag, forHTTPHeaderField: "If-None-Match")
}

// Compute localy URL session: not possible to have struct property because try await data(for:) is mutating
let urlSession = prepareSession()

var appsPlusRawData: Data, response: URLResponse, httpResponse: HTTPURLResponse?
Expand Down

0 comments on commit a8c9a08

Please sign in to comment.