From a8c9a08bd5c6f250553ac04093ac541bb8f4c614 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Lapersonne Date: Mon, 29 Jan 2024 16:41:15 +0100 Subject: [PATCH] refactor(#647): review - add comment Signed-off-by: Pierre-Yves Lapersonne --- .../Modules/About/Internal/ListItems/MoreApps/AppsPlusDTO.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/OrangeDesignSystem/Sources/OrangeDesignSystem/Modules/About/Internal/ListItems/MoreApps/AppsPlusDTO.swift b/OrangeDesignSystem/Sources/OrangeDesignSystem/Modules/About/Internal/ListItems/MoreApps/AppsPlusDTO.swift index ebf2450e..722c654d 100644 --- a/OrangeDesignSystem/Sources/OrangeDesignSystem/Modules/About/Internal/ListItems/MoreApps/AppsPlusDTO.swift +++ b/OrangeDesignSystem/Sources/OrangeDesignSystem/Modules/About/Internal/ListItems/MoreApps/AppsPlusDTO.swift @@ -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?