Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ let package = Package(
"Alamofire",
.product(name: "InfomaniakDI", package: "ios-dependency-injection"),
.product(name: "InfomaniakLogin", package: "ios-login"),
.product(name: "Sentry-Dynamic", package: "sentry-cocoa"),
.product(name: "SentrySPM", package: "sentry-cocoa"),
Comment thread
valentinperignon marked this conversation as resolved.
Resolved
.product(name: "OSInfo", package: "OSInfo")
]
),
Expand Down
2 changes: 1 addition & 1 deletion Sources/InfomaniakCore/Account/KeychainHelper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import Foundation
import InfomaniakLogin
import OSLog
import Sentry
import SentrySwift

public class KeychainHelper {
private let logger = Logger(category: "KeychainHelper")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

import Foundation
import InfomaniakDI
import Sentry
import SentrySwift

public enum KDriveFileSharingConstants {
public static let appGroupIdentifier = "group.com.infomaniak"
Expand Down
2 changes: 1 addition & 1 deletion Sources/InfomaniakCore/Networking/ApiFetcher.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import Alamofire
import Foundation
import InfomaniakDI
import InfomaniakLogin
import Sentry
import SentrySwift

public typealias EncodableParameters = [String: Encodable & Sendable]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

import Alamofire
import Foundation
import Sentry
import SentrySwift

public class RequestContextIdAdaptor: RequestAdapter {
public static let requestContextIdHeader = "x-infomaniak-request-context-id"
Expand All @@ -29,7 +29,7 @@

public func adapt(
_ urlRequest: URLRequest,
for session: Alamofire.Session,

Check warning on line 32 in Sources/InfomaniakCore/Networking/RequestContextIdAdaptor.swift

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove the unused function parameter "session" or name it "_".

See more on https://sonarcloud.io/project/issues?id=Infomaniak_ios-core&issues=AaHjtW4jHoCd60lzdwl4&open=AaHjtW4jHoCd60lzdwl4&pullRequest=209
completion: @escaping (Result<URLRequest, Error>) -> Void
) {
var adaptedRequest = urlRequest
Expand Down
2 changes: 1 addition & 1 deletion Sources/InfomaniakCore/Tracking/SentryDebug.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

import Foundation
import Sentry
import SentrySwift

public enum SentryDebug {
enum Category {
Expand Down
Loading